The Wire · Showcase
LANGCHAIN PATCHES CLAUDE FILE TOOLS AND OPENAI CONTEXT ERRORS
By RepoJournal · Filed · About AI Agents
LangChain shipped langchain-openai 1.4.2 with fixes for context window overflows and broken Claude rename operations, while OpenHands v1.11.0 adds per-run LLM cost tracking.
langchain-openai==1.4.2 [1] landed with a critical fix for `ContextWindowExceededError` handling and a repair to the Claude file-tool middleware that was throwing `KeyError` on every rename operation [2]. The same release filtered langchain-generated content block IDs to prevent conflicts with OpenAI's response handling [1]. In the core LangChain repo, the `SummarizationMiddleware` now preserves conversation history on summary failure by retrying transient errors up to 3 times via `Runnable.with_retry` [3], closing a gap where error text could overwrite entire chat threads. The `LLMToolEmulator` import handler [4] now raises actionable errors when `langchain-anthropic` isn't installed, giving teams a migration window before `model` becomes required in a future release. OpenHands v1.11.0 [5] shipped per-run LLM cost visibility in the Activity Log and exports, alongside UI polish for the Agent Canvas and conversation tag filtering [6]. Across 3 repos, this period saw 47 commits, 48 PRs, and 4 releases. On the Cline desktop side, a breaking fix [7] removed Vercel Analytics injection that was crashing webview startup with SyntaxError, while tooling hardening [8] prevents malformed model outputs from crashing the CLI formatter.
One email a day. Unsubscribe in one click.
Keep up with AI Agents in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Upgrade langchain-openai to 1.4.2 if using Claude file tools or hitting context window errors langchain-ai/langchain [immediate]
- → Update OpenHands to v1.11.0 to enable cost-per-run tracking in production logs OpenHands/OpenHands [plan]
- → Redeploy Cline desktop agents to pick up webview startup fix cline/cline [immediate]
References
- [1] langchain-openai==1.4.2 ↗ langchain-ai/langchain
- [2] fix(anthropic): fix `KeyError` on rename in Claude file-tool middleware (#39293) langchain-ai/langchain
- [3] fix(langchain): preserve history on `SummarizationMiddleware` summary failure ↗ langchain-ai/langchain
- [4] fix(langchain): handle import error in `LLMToolEmulator` by `model` (#39290) langchain-ai/langchain
- [5] v1.11.0 ↗ OpenHands/OpenHands
- [6] feat: add automation tag filter and recognition ↗ OpenHands/OpenHands
- [7] fix(desktop): resolve startup script-load SyntaxError and attribute webview errors to their source URL (#12974) cline/cline
- [8] fix(cli): harden tool input/output formatters against malformed payloads (#13048) cline/cline