ToolError
An exception for problems the model can fix. Its message goes back to the model as a tool result with is_error true, so it should say what went wrong and what to do next.
An exception for problems the model can fix. Its message goes back to the model as a tool result with is_error true, so it should say what went wrong and what to do next.