Avatar for the langchain-ai user
langchain-ai
langchain
Instrumentation
Wall Time
BlogDocsChangelog

fix(core): remove orphaned ToolMessages in trim_message

#33265
Comparing
yashv6655:fix/core/trim-messages-tool-call-orphaning
(
891903a
) with
master
(
7f5be6b
)
CodSpeed Performance Gauge
+2%
Untouched
13

Benchmarks

Passed

test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py::test_import_time[BaseChatModel]
CodSpeed Performance Gauge
+4%
515.1 ms493 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py::test_import_time[HumanMessage]
CodSpeed Performance Gauge
+3%
273.1 ms265.3 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryRateLimiter]
CodSpeed Performance Gauge
+3%
169.2 ms164.4 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py::test_import_time[PydanticOutputParser]
CodSpeed Performance Gauge
+3%
529.1 ms514.8 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py::test_import_time[CallbackManager]
CodSpeed Performance Gauge
+3%
444.2 ms432.5 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py::test_import_time[ChatPromptTemplate]
CodSpeed Performance Gauge
+3%
579.9 ms565.4 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Runnable]
CodSpeed Performance Gauge
+2%
472.9 ms463.7 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py::test_import_time[tool]
CodSpeed Performance Gauge
+2%
496.6 ms487.1 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py::test_async_callbacks_in_sync
CodSpeed Performance Gauge
+2%
25.7 ms25.3 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Document]
CodSpeed Performance Gauge
+2%
213.2 ms210 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py::test_import_time[RunnableLambda]
CodSpeed Performance Gauge
+1%
474.5 ms468.1 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py::test_import_time[LangChainTracer]
CodSpeed Performance Gauge
+1%
419.8 ms415.9 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryVectorStore]
CodSpeed Performance Gauge
0%
603.8 ms604.3 ms

Commits

Click on a commit to change the comparison range
Base
master
7f5be6b
+0.69%
Merge branch 'master' into fix/core/trim-messages-tool-call-orphaning
64261fc
2 days ago
by yashv6655
+1.44%
Merge branch 'master' into fix/core/trim-messages-tool-call-orphaning
891903a
22 hours ago
by yashv6655
© 2025 CodSpeed Technology
Home Terms Privacy Docs