Skip to content

feat(providers): remove opinionated 'genius expert' from JSON mode pr…#2069

Merged
jxnl merged 1 commit into567-labs:mainfrom
Waqar53:feat/json-mode-custom-prompt
Feb 7, 2026
Merged

feat(providers): remove opinionated 'genius expert' from JSON mode pr…#2069
jxnl merged 1 commit into567-labs:mainfrom
Waqar53:feat/json-mode-custom-prompt

Conversation

@Waqar53
Copy link
Contributor

@Waqar53 Waqar53 commented Feb 7, 2026

…ompts

Fixes #1514.

Replace the hardcoded 'As a genius expert' persona in JSON mode system prompts with a neutral, task-focused prompt. This prevents the JSON mode from breaking character-based or roleplay applications.

The new prompt is simpler and more focused:

  • 'Parse the content and return a JSON object matching this schema'
  • No persona or character assumptions
  • Clear instruction to return valid JSON instance

…ompts

Fixes 567-labs#1514.

Replace the hardcoded 'As a genius expert' persona in JSON mode
system prompts with a neutral, task-focused prompt. This prevents
the JSON mode from breaking character-based or roleplay applications.

The new prompt is simpler and more focused:
- 'Parse the content and return a JSON object matching this schema'
- No persona or character assumptions
- Clear instruction to return valid JSON instance
@jxnl jxnl merged commit 94b7aed into 567-labs:main Feb 7, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with system prompt when using Mode.JSON

2 participants