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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Drafts no longer fail because the LLM wrote text around its JSON answer ("LLM returned invalid JSON"), which happened with Claude, mostly on choose steps. Claude is now given a strict JSON schema for the decide, choose, draft, opening line and value check calls. For every provider, text or a code fence around the JSON is ignored, and an answer that still cannot be used is sent back to the model once with what was wrong.
Approvals, Needs attention: an unusable AI answer is explained in plain words, with the technical error under Technical details.