langchain-ai
langchain
BlogDocsChangelog

feat(core): add `'approximate'` alias in place of `count_tokens_approximately`

#33045Merged
Comparing
Davda-James:feat/trim_messages-support-approx-alias
(
0834892
) with
master
(
72f1d79
)
CodSpeed Performance Gauge
+4%
Untouched
13
Skipped
21

Benchmarks

Skipped (21)

Passed

test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+7%
573.3 ms536.3 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+6%
489.6 ms460 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+6%
569.7 ms536.8 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+6%
529.6 ms499.4 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+5%
637.4 ms605.6 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+5%
654.9 ms622.8 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+4%
277.6 ms266 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+4%
461.6 ms443.9 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+4%
180.7 ms173.8 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
540.6 ms522.9 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
195.3 ms189.4 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
506.6 ms498.9 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
+1%
24.4 ms24.2 ms

Commits

Click on a commit to change the comparison range
Base
master
72f1d79
+6.05%
cr
3817852
5 days ago
by mdrxy
-1.68%
bump for CI
0834892
5 days ago
by mdrxy
© 2025 CodSpeed Technology
Home Terms Privacy Docs