Agent DailyAgent Daily
releaseintermediate

[Release] langchain-ai/langchain langchain==1.3.16: langchain==1.3.16

By github-actions[bot]github
View original on github

LangChain v1.3.16 introduces standard model exception types for improved error handling, adds support for custom token counters in ContextEditingMiddleware, and fixes critical issues with exception re-raising in ModelRetryMiddleware and schema ordering preservation. This release enhances the framework's robustness in handling errors and managing context within middleware components.

Key Points

  • Standard model exception types added to core for consistent error handling across the framework
  • ContextEditingMiddleware now supports custom token_counter implementations for flexible token management
  • ModelRetryMiddleware fixed to properly re-raise non-retryable exceptions instead of swallowing them
  • Documentation updated with improved error handling guidance for JSON schema operations
  • Schema ordering preservation fixed to maintain final repeated schema structure correctly
  • Focus on middleware reliability and exception handling robustness in this patch release

Found this useful? Add it to a playbook for a step-by-step implementation guide.

Workflow Diagram

Start Process
Step A
Step B
Step C
Complete
Quality

Concepts