langchain-ai
langchain
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Merge branch 'master' into fix/anthropic-trailing-whitespace
jackjin1997:fix/anthropic-trailing-whitespace
4 hours ago
Fix: strip trailing whitespace from final assistant message in ChatAnthropic
jackjin1997:fix/anthropic-trailing-whitespace
4 hours ago
fix(partners/anthropic): strip trailing whitespace from final assistant message
mohankumar27:fix/trailing-whitespace-anthropic-35071
4 hours ago
fix(partners/anthropic): strip trailing whitespace from final assistant message
mohankumar27:fix/trailing-whitespace-anthropic-35071
4 hours ago
fix(core): add return type annotations and fix line length in test_tool.py - Added `-> None` return type annotations to all test functions - Split long assertion line to fit within 88 character limit - Fixed line in test_tool_message_chunk_merge_strings to avoid line length issue Fixes lint failures in CI for PR #35068
veeceey:fix/issue-34909-tool-message-chunk-none
10 hours ago
fix(core): add return type annotations to merge tests Add `-> None` return type annotations to all test functions in test_merge.py to satisfy ruff linting requirements (ANN201). Also apply ruff formatting for consistent code style.
veeceey:fix/issue-34807-merge-dicts-tool-calls
10 hours ago
fix(core): prevent tool call fields from concatenating in merge_dicts Fixes #34807 When merging streaming chunks with tool calls, certain fields (id, name, type, function, tool_call_id) were being concatenated when they shouldn't be. This caused issues where: - Empty strings from streaming providers would concatenate with existing values - Tool call IDs would duplicate when values are the same Changes: - Modified merge_dicts() to skip concatenation for tool call fields when: * The right value is empty (keeps left value) * Both values are identical (avoids duplication) - Added comprehensive unit tests covering various tool call merge scenarios Root cause: The guard condition in merge_dicts() didn't include tool call-specific fields, so they were being concatenated like regular strings.
veeceey:fix/issue-34807-merge-dicts-tool-calls
11 hours ago
fix(core): prevent None content from becoming "NoneNone" in ToolMessageChunk Fixes #34909 When merging two ToolMessageChunk instances with content=None, the result was becoming "NoneNone" instead of empty string. This was caused by: 1. ToolMessage.coerce_args() converting None to str(None) = "None" 2. merge_content() then concatenating "None" + "None" = "NoneNone" Changes: - Modified ToolMessage.coerce_args() to convert None to "" instead of "None" - Added safety check in merge_content() to skip None values - Added comprehensive unit tests for ToolMessageChunk merging with None content
veeceey:fix/issue-34909-tool-message-chunk-none
11 hours ago
Active Branches
fix: strip trailing whitespace from ChatAnthropic final assistant message
last run
4 hours ago
#35073
CodSpeed Performance Gauge
0%
fix(partners/anthropic): strip trailing whitespace from final assistant message
last run
4 hours ago
#35072
CodSpeed Performance Gauge
0%
fix(core): prevent none content from becoming "nonenone" in toolmessagechunk
last run
10 hours ago
#35068
CodSpeed Performance Gauge
+24%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs