langchain-ai
langchain
BlogDocsChangelog

feat(core): eager validation for trim_messages configuration

#34528
Comparing
Aman071106:feat/eager-validation-trim-messages
(
a4c4c1c
) with
master
(
03ae397
)
CodSpeed Performance Gauge
-1%
Untouched
13
Skipped
21

Benchmarks

Skipped (21)

Passed

test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
+2%
24 ms23.5 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
537.2 ms534.7 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
174.2 ms175.6 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
440.1 ms444.1 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
460.8 ms466.8 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
485.8 ms493 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
526.6 ms534.5 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
185.6 ms188.5 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
260.9 ms265.3 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
592.4 ms603 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
615.4 ms627 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
489.5 ms499.7 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
510.5 ms522.2 ms

Commits

Click on a commit to change the comparison range
Base
master
03ae397
-1.73%
update so validation error are raised at init not runtime
340c98b
2 days ago
by Aman071106
+0.6%
fix: resolve lint and type errors
a4c4c1c
2 days ago
by Aman071106
© 2025 CodSpeed Technology
Home Terms Privacy Docs