Ask a question to get started
Enter to sendā¢Shift+Enter new line
interface ToolErrorMiddlewareConfig
Configuration for toolErrorMiddleware.
Handler called when tool execution throws. Return content to convert the error into an error ToolMessage, or return nothing to propagate it.
ToolMessage