langchain-ai
langchain
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(core): issues in merging chunks (#39535) Closes #38064, #35259, #38850 `merge_dicts`, `merge_lists`, and `AddableDict` all guessed at merge semantics for streaming chunks in ways that silently corrupted data instead of failing loudly: - `merge_dicts` fell into the `int` branch for differing `bool` values (since `bool` subclasses `int`) and summed them, turning `True + False` into `1`. It now raises `TypeError`, consistent with other unmergeable types. - `merge_lists` used `"index" in e_left` on untyped list elements; when an element was a plain `str` containing the literal substring `"index"`, it then subscripted the string and raised an unrelated `TypeError`. It now checks `isinstance(e_left, dict)` first. - `AddableDict.__add__`/`__radd__` silently discarded the left-hand value on any `TypeError` from `chunk[key] + other[key]`. They now re-raise a `TypeError` naming the key and both types. ### Release note `merge_dicts` now raises `TypeError` for differing boolean values at the same key instead of silently summing them to an `int`; `AddableDict` addition now raises `TypeError` on type-incompatible keys instead of silently dropping data; `merge_lists` no longer misidentifies non-dict elements as index-keyed. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
master
12 hours ago
fix(core): handle v1 base model validation in async path (#39576)
master
14 hours ago
fix(core): handle tool descriptions for infer_schema=False (#39573) Co-authored-by: 王俊锋 <37211900+kinch-tech@users.noreply.github.com>
master
14 hours ago
fix(langchain): preserve final repeated schema ordering (#39284)
master
14 hours ago
fix(core): clear usage metadata callback on exceptions in context manager (#39616) Co-authored-by: Solaris-star <820622658@qq.com>
master
16 hours ago
cr
fix/langchain-last-schema-wins
17 hours ago
fix(core): handle falsy LLM and chat model caches (#39283)
master
17 hours ago
Merge branch 'master' into fix/38989-usage-callback-finally
cc/38989
17 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(langchain): preserve final repeated schema ordering
#39284
17 hours ago
d80cb86
fix/langchain-last-schema-wins
CodSpeed Performance Gauge
-1%
fix(core): clear usage metadata callback on exceptions in context manager
#39616
21 hours ago
91b7b93
cc/38989
CodSpeed Performance Gauge
+1%
chore(core): add httpx as an explicit dep
#39612
19 hours ago
8709b17
cc/core-httpx-dep
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs