langchain-ai
langchain
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(core): handle None content in ToolMessage to prevent 'NoneNone' merge When ToolMessageChunk instances with content=None are merged using the + operator, the result was 'NoneNone' instead of an empty string. This happened because the model_validator was coercing None to str(None) which equals 'None', and then merging two 'None' strings resulted in 'NoneNone'. This fix checks for None content explicitly and converts it to an empty string before other coercion logic runs. Fixes #34909
njg7194:fix/toolmessage-none-content
7 hours ago
docs: add example to create_message function docstring (#34851)
master
8 hours ago
format
aahanabobade:docs/add-example-to-create-message
8 hours ago
Merge branch 'master' into docs/fix-tool-decorator-requirements # Conflicts: # libs/core/langchain_core/tools/convert.py
shivangraikar:docs/fix-tool-decorator-requirements
8 hours ago
nit
aahanabobade:docs/add-example-to-create-message
8 hours ago
fix(core): fix nested mustache variable extraction and update docs (#34872)
master
9 hours ago
fix docstring
nandanadileep:fix/mustache-nested-vars
9 hours ago
fix(core): allow base model annotations for empty model (#34932)
master
10 hours ago
Active Branches
fix(core): handle None content in ToolMessage to prevent NoneNone merge
last run
7 hours ago
#34952
CodSpeed Performance Gauge
-4%
feat: add compact API support for OpenAI
last run
13 hours ago
#34926
CodSpeed Performance Gauge
0%
fix(core): add tool_call_id to on_tool_start and on_tool_end events
last run
14 hours ago
#34869
CodSpeed Performance Gauge
+3%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs