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

fix(core): accept `Serializable` constructor-envelope wire shape in `_convert_to_message`

#37456Merged
Comparing
nh/messages-accept-lc-constructor-envelope
(
917656b
) with
master
(
b6b769b
)
CodSpeed Performance Gauge
-1%
Untouched
13
Skipped
2

Benchmarks

15 total
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
676.8 ms*675.3 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
1.6 s*1.6 s
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
375.6 ms*377 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
418.2 ms*419.9 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.4 s*1.4 s
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.4 s*1.4 s
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.4 s*1.4 s
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.2 s*1.2 s
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.3 s*1.3 s
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.5 s*1.5 s
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
815.2 ms*821.4 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
1.3 s*1.3 s
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
-2%
54.8 ms*56 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
b6b769b
-0.64%
fix(core): accept `Serializable` constructor-envelope wire shape in `_convert_to_message`
917656b
3 hours ago
by nick-hollon-lc
© 2026 CodSpeed Technology
Home Terms Privacy Docs