Symptom
In headless mode with a custom structured-output controller, the run never ends after the task is complete.
Evidence what you'll see
- Started in version 0.1.40, earlier versions finished
- A valid done action with structured output appears in the log
Cause
A change to last-step handling in 0.1.40 broke detecting the terminal state when a custom output model was used.
Fix steps
0 of 3 done
Your check marks stay in this browser only.
Verify the fix worked
- The run exits right after the done action, and the structured result is returned.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Test in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change