LangChain update: standard exceptions, agent middleware
LangChain · x · 2026-08-21
LangChain released a new update:
- Standard exceptions: Chat models now raise standard exception types across providers, allowing consistent distinction of retryable errors like timeouts and rate limits.
- Agent middleware: ContextEditingMiddleware supports custom token counters, and ModelRetryMiddleware now skips retries for non-retryable exceptions.
- Fireworks integration: Added a new document reranker integration.
- Billing fixes: Fixed token and usage accounting bugs for xAI and DeepSeek.
- Performance: Lazy transformers import and tighter grep scope for Anthropic.
More from coding & agent
- codex-router: bring Grok, Kimi, DeepSeek and Claude into Codex's picker — dr_cintas · 2026-08-21
- Herdr update: terminal-code and terminal-browser now supported — philipvollet · 2026-08-21
- A $30 Orange Pi Runs a 24/7 AI Agent in Under 20MB of RAM — D777Castle · 2026-08-21
- Coding agents need workflow-based UIs, not just chat interfaces — lateinteraction · 2026-08-21
- Apps should be LLM sessions directly interacting with DB, generating APIs on the fly — madhavsinghal_ · 2026-08-21
- perfsonar-mcp: MCP server for querying historical network measurements — modelcontextprotocol · 2026-08-21