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

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
cr
fix/langchain-last-schema-wins
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%
CodSpeed Performance Gauge
+1%
19 hours ago
8709b17
cc/core-httpx-dep
© 2026 CodSpeed Technology
Home Terms Privacy Docs