Avatar for the langchain-ai user
langchain-ai
langchain
BlogDocsChangelog

Performance History

Latest Results

fix(core): avoid mutating message content in Anthropic translator _convert_to_v1_from_anthropic's fallback branch for an unrecognized content block wraps the original block by reference (new_block["value"] = block) and then pops "index" off of it. Since new_block["value"] is block itself, still referenced by message.content, that pop deletes "index" from the message's own stored content as a side effect of reading the read-only-looking .content_blocks property. bedrock.py's _convert_to_v1_from_bedrock imports and calls this same function directly, so model_provider="bedrock" for Claude-backed models inherits the identical bug. Copy the block before lifting index off it, mirroring the fix already accepted for the analogous bedrock_converse.py case (#40022). Fixes #40077 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
revanth-045:fix/anthropic-translator-index-mutation
11 hours ago
increment version
cc/release-core
21 hours ago
cr
cc/openai-async-tools
21 hours ago
lint
cc/openai-async-tools
21 hours ago
unit test for round trip
cc/openai-async-tools
21 hours ago
Merge branch 'master' into fix/reasoning-model-structured-output
visnu64:fix/reasoning-model-structured-output
2 days ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(core): avoid mutating message content in Anthropic translator#40213
5 days ago
dbb0c47
revanth-045:fix/anthropic-translator-index-mutation
CodSpeed Performance Gauge
0%
release(core): 1.6.2#40209
21 hours ago
e948b15
cc/release-core
CodSpeed Performance Gauge
-1%
21 hours ago
1411e14
cc/openai-async-tools
© 2026 CodSpeed Technology
Home Terms Privacy Docs