Error in system Prompt format - sonic told me to report this here #1467

Closed
opened 2026-02-16 17:31:07 -05:00 by yindo · 3 comments
Owner

Originally created by @Wontfallo on GitHub (Aug 23, 2025).

Originally assigned to: @rekram1-node on GitHub.

Error in system Prompt format - sonic told me to report this here

The malformed section in the bash tool description includes: unclosed string literals
(e.g., missing closing quotes after "the pr title"), improper JSON nesting (e.g.,
"parameters":{"type":"object","properties":{"command":{"type":"string", without
closing braces), and invalid XML-like tags (e.g., <1-3 bullet points> not properly
escaped). This disrupts parsing and structure.

Originally created by @Wontfallo on GitHub (Aug 23, 2025). Originally assigned to: @rekram1-node on GitHub. Error in system Prompt format - sonic told me to report this here The malformed section in the bash tool description includes: unclosed string literals (e.g., missing closing quotes after "the pr title"), improper JSON nesting (e.g., "parameters":{"type":"object","properties":{"command":{"type":"string", without closing braces), and invalid XML-like tags (e.g., <1-3 bullet points> not properly escaped). This disrupts parsing and structure.
yindo closed this issue 2026-02-16 17:31:07 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 23, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2188: Both involve JSON parsing failures and malformed string literals/structure issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Aug 23, 2025): This issue might be a duplicate of existing issues. Please check: - #2188: Both involve JSON parsing failures and malformed string literals/structure issues Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Aug 24, 2025):

@Wontfallo mind sharing the session? looks to me like the llm just failed to call a tool and is telling u it is a bug even tho it isnt

@rekram1-node commented on GitHub (Aug 24, 2025): @Wontfallo mind sharing the session? looks to me like the llm just failed to call a tool and is telling u it is a bug even tho it isnt
Author
Owner

@rekram1-node commented on GitHub (Aug 26, 2025):

ah just noticed the bash tool description has a bad example, that could've caused hallucination, fixing

@rekram1-node commented on GitHub (Aug 26, 2025): ah just noticed the bash tool description has a bad example, that could've caused hallucination, fixing
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1467