[PR #2338] fix: adjust title generation prompt to prevent llm responses #10283

Closed
opened 2026-02-16 18:14:54 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2338

State: closed
Merged: Yes


fixes: #2235

Tested a variety of prompts, sort ones, longer ones from issue, and then ones I have used in past.

Tried with: haiku, gemini 2.5 flash, and grok-code all 3 had good success with this.

This prompt isn't a huge deviation from previous ones but the end of prompt seems to help encourage llm to actually respond with title immediately due to: Output the title now:

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2338 **State:** closed **Merged:** Yes --- fixes: #2235 Tested a variety of prompts, sort ones, longer ones from issue, and then ones I have used in past. Tried with: haiku, gemini 2.5 flash, and grok-code all 3 had good success with this. This prompt isn't a huge deviation from previous ones but the end of prompt seems to help encourage llm to actually respond with title immediately due to: `Output the title now:`
yindo added the pull-request label 2026-02-16 18:14:54 -05:00
yindo closed this issue 2026-02-16 18:14:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10283