-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: remove author name from agent system prompts to prevent unintended language inference #634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove author name from agent system prompts to prevent unintended language inference #634
Conversation
The author name "Named by [YeonGyu Kim]" in the Sisyphus role section causes LLMs to sometimes infer Korean language output, even when the user's locale is en-US. This happens because the model sees a Korean name in the system prompt and may interpret it as a signal to respond in Korean. Removing the author attribution from the runtime prompt fixes this issue. The attribution is preserved in README, LICENSE, and package.json. Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
All contributors have signed the CLA. Thank you! ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 2 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
|
I have read the CLA Document and I hereby sign the CLA |
|
Kinda funny you made pr with cc |
Haha because omo didn't work with cc yesterday, and OpenAI models are too slow, so I temporarily switch back. |
The author name "Named by [YeonGyu Kim]" in the Sisyphus role section causes LLMs to sometimes infer Korean language output, even when the user's locale is en-US. This happens because the model sees a Korean name in the system prompt and may interpret it as a signal to respond in Korean. Removing the author attribution from the runtime prompt fixes this issue. The attribution is preserved in README, LICENSE, and package.json. Co-authored-by: Claude Opus 4.5 <[email protected]>
Problem
The Sisyphus agent system prompt includes the line:
This causes LLMs to sometimes infer Korean language output, even when the user's system locale is
en-US. The model sees a Korean name in the system prompt and interprets it as a signal to respond in Korean.Example output (unintended Korean):
Solution
Remove the author attribution from the runtime system prompts in:
src/agents/sisyphus.tssrc/agents/orchestrator-sisyphus.tsThe author attribution is preserved in:
Changes
Named by [YeonGyu Kim](https://github.com/code-yeongyu).fromSISYPHUS_ROLE_SECTIONORCHESTRATOR_SISYPHUS_SYSTEM_PROMPTTest Plan
🤖 Generated with Claude Code
Summary by cubic
Removed the author attribution from Sisyphus system prompts to prevent unintended Korean responses. Ensures the agent replies in the user’s expected language based on locale.
Written for commit e77369b. Summary will update on new commits.