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

fix(core): preserve chunk `additional_kwargs` across v3 stream assembly

#37435Merged
Comparing
nh/stream-events-v3-additional-kwargs-dropped
(
ab1d155
) with
master
(
649d82f
)
CodSpeed Performance Gauge
-1%
Untouched
13
Skipped
2

Benchmarks

15 total
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
1.2 s1.2 s
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
1.6 s1.6 s
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
1.5 s1.5 s
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
674.4 ms676.8 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.4 s1.4 s
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.3 s1.3 s
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
811.9 ms817.9 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
416.9 ms420 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.3 s1.3 s
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
375 ms379 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
-1%
55.1 ms55.9 ms
test_create_agent_instantiation_with_middleware
libs/langchain_v1/tests/benchmarks/test_create_agent.py
Skipped
15.2 ms*
test_create_agent_instantiation
libs/langchain_v1/tests/benchmarks/test_create_agent.py
Skipped
4.1 ms*

Commits

Click on a commit to change the comparison range
Base
master
649d82f
-0.58%
fix(core): apply ruff format to _compat_bridge additional_kwargs accumulator
ab1d155
2 hours ago
by nick-hollon-lc
© 2026 CodSpeed Technology
Home Terms Privacy Docs