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

fix(huggingface): add `stream_usage` support for `ChatHuggingFace` invoke/stream

#32708
Comparing
girlsending0:fix/add_stream_usage
(
074af3b
) with
master
(
fcf7175
)
CodSpeed Performance Gauge
+3%
Improvements
0
Regressions
0
Untouched
13
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py::test_import_time[PydanticOutputParser]
CodSpeed Performance Gauge
+5%
380.4 ms
360.7 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py::test_import_time[tool]
CodSpeed Performance Gauge
+5%
486.5 ms
461.4 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py::test_import_time[LangChainTracer]
CodSpeed Performance Gauge
+5%
424.9 ms
406 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py::test_import_time[BaseChatModel]
CodSpeed Performance Gauge
+4%
503.9 ms
484.8 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py::test_import_time[RunnableLambda]
CodSpeed Performance Gauge
+4%
237 ms
228.4 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Runnable]
CodSpeed Performance Gauge
+4%
238.5 ms
230.2 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryVectorStore]
CodSpeed Performance Gauge
+4%
248.2 ms
239.8 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py::test_import_time[CallbackManager]
CodSpeed Performance Gauge
+3%
426.7 ms
412.4 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Document]
CodSpeed Performance Gauge
+3%
212.9 ms
206.6 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py::test_import_time[ChatPromptTemplate]
CodSpeed Performance Gauge
+2%
420.5 ms
411.8 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryRateLimiter]
CodSpeed Performance Gauge
+2%
166.7 ms
163.4 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py::test_import_time[HumanMessage]
CodSpeed Performance Gauge
+2%
211.3 ms
207.5 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py::test_async_callbacks_in_sync
CodSpeed Performance Gauge
0%
24.1 ms
24 ms

Commits

Click on a commit to change the comparison range
Base
master
fcf7175
+6.3%
fix: add stream_usage
fe96acf
4 days ago
by girlsending0
+0.53%
fix: fix the FBT001 warning
955a8c2
4 days ago
by girlsending0
-9.23%
fix: fix the positional arg err
eeeb3d4
4 days ago
by girlsending0
+14.08%
fix: fix the line
0e90305
4 days ago
by girlsending0
-0.07%
apply formatter
7ffd183
4 days ago
by girlsending0
-8.29%
Merge branch 'master' into fix/add_stream_usage
074af3b
7 hours ago
by girlsending0
© 2025 CodSpeed Technology
Home Terms Privacy Docs