LangChain version 1.3.14 introduces targeted fixes and features for tool execution. The release restricts the ToolRetryMiddleware to retry only specific retryable exceptions, preventing unnecessary retries on fatal errors. It also introduces a new ToolErrorMiddleware for more granular error handling.
- ToolRetryMiddleware now filters exceptions, avoiding retries on non-retryable failures
- New ToolErrorMiddleware provides dedicated error handling pathways for tools
- Upgrade to 1.3.14 to improve reliability of tool-calling workflows