Patch Changes
- #11712
34edee1Thanks @blove! -createAgentno longer ends the run when areturnDirecttool fails. A tool error, including arguments that fail the tool's schema, now goes back to the model so it can correct the call and retry; the run still ends on the first successfulreturnDirectresult. ErrorToolMessages produced by the tool node now carrystatus: "error", and aToolMessagereturned from a customhandleToolErrorsfunction defaults to that status when it sets none.