From 8b1cca8279de9b84562675c1cae810fff65e054d Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 27 Nov 2025 23:57:02 +0100 Subject: [PATCH] coding-agent: remove identity override from system prompt (#73) Models now use their native identity instead of being told they are Pi. --- packages/coding-agent/CHANGELOG.md | 1 + packages/coding-agent/src/main.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index 1f5fc990..acc44732 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -5,6 +5,7 @@ ### Changed - **HTML Export Prefix**: Exported session files now use `pi-session-` prefix (e.g., `pi-session-2025-11-13T12-27-53-866Z_xxx.html`) for easier `.gitignore` filtering ([#72](https://github.com/badlogic/pi-mono/issues/72)) +- **Native Model Identity**: Removed "You are actually not Claude, you are Pi" from system prompt, allowing models to use their native identity ([#73](https://github.com/badlogic/pi-mono/issues/73)) ## [0.10.1] - 2025-11-27 diff --git a/packages/coding-agent/src/main.ts b/packages/coding-agent/src/main.ts index e9edeb29..43d667ab 100644 --- a/packages/coding-agent/src/main.ts +++ b/packages/coding-agent/src/main.ts @@ -332,7 +332,7 @@ function buildSystemPrompt(customPrompt?: string): string { // Get absolute path to README.md const readmePath = resolve(join(__dirname, "../README.md")); - let prompt = `You are actually not Claude, you are Pi. You are an expert coding assistant. You help users with coding tasks by reading files, executing commands, editing code, and writing new files. + let prompt = `You are an expert coding assistant. You help users with coding tasks by reading files, executing commands, editing code, and writing new files. Available tools: - read: Read file contents