You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Retry without prompt hint doubles LLM cost for same failure #90
The retry on parse failure in src/engine/llm.rs:210 doubles the LLM call without modifying the prompt. If repair_json_string can't fix the JSON, the same prompt will likely produce the same broken output.
Suggested Fix
Add a prompt hint on retry: "IMPORTANT: Return only valid JSON with properly escaped strings."
Activity
ajianaz commentedon Jun 1, 2026
Fixed in v0.1.5