langchain-ai
langchain
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
chore: bump jupyterlab from 4.5.9 to 4.5.10 in /libs/core Bumps [jupyterlab](https://github.com/jupyterlab/jupyterlab) from 4.5.9 to 4.5.10. - [Changelog](https://github.com/jupyterlab/jupyterlab/blob/main/RELEASE.md) - [Commits](https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/lsp@4.5.9...@jupyterlab/lsp@4.5.10) --- updated-dependencies: - dependency-name: jupyterlab dependency-version: 4.5.10 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/uv/libs/core/jupyterlab-4.5.10
4 hours ago
chore: bump setuptools from 82.0.0 to 83.0.0 in /libs/core Bumps [setuptools](https://github.com/pypa/setuptools) from 82.0.0 to 83.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v82.0.0...v83.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-version: 83.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/uv/libs/core/setuptools-83.0.0
4 hours ago
chore: bump setuptools from 82.0.0 to 83.0.0 in /libs/langchain Bumps [setuptools](https://github.com/pypa/setuptools) from 82.0.0 to 83.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v82.0.0...v83.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-version: 83.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/uv/libs/langchain/setuptools-83.0.0
4 hours ago
chore: bump setuptools from 80.9.0 to 83.0.0 in /libs/text-splitters Bumps [setuptools](https://github.com/pypa/setuptools) from 80.9.0 to 83.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v80.9.0...v83.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-version: 83.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/uv/libs/text-splitters/setuptools-83.0.0
4 hours ago
chore: bump pyasn1 from 0.6.3 to 0.6.4 in /libs/langchain_v1 Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.3 to 0.6.4. - [Release notes](https://github.com/pyasn1/pyasn1/releases) - [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst) - [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.3...v0.6.4) --- updated-dependencies: - dependency-name: pyasn1 dependency-version: 0.6.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/uv/libs/langchain_v1/pyasn1-0.6.4
4 hours ago
chore: update setuptools requirement in /libs/langchain_v1 Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v67.6.1...v83.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-version: 83.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/uv/libs/langchain_v1/setuptools-gte-67.6.1-and-lt-84.0.0
4 hours ago
fix(core): use `tool_call_schema` cache for `BaseTool` token counting in `count_tokens_approximately` (#39020) ### Summary `count_tokens_approximately(..., tools=...)` recomputes each `BaseTool`'s OpenAI schema on every call by going through `convert_to_openai_tool()`, even though `BaseTool` already caches an equivalent schema via `tool_call_schema`. For agents with many schema-rich tools, this becomes a significant per-turn cost (e.g. `SummarizationMiddleware` calls it every turn to decide when to compact history). This PR reuses the cached `tool_call_schema` for `BaseTool` instances during token counting. Other tool types (dicts, callables, `BaseModel` classes) continue using the existing path unchanged. ### Benchmark Average per-tool schema generation time: | Path | Cold (1st call) | Warm (subsequent calls) | |------|----------------:|------------------------:| | `convert_to_openai_tool()` | 0.0243 ms | 0.0234 ms | | `tool.tool_call_schema.model_json_schema()` | 0.0005 ms | 0.0001 ms | This is roughly a **50× speedup on cold calls** and over **200× on warm calls** for the schema generation step. `tool_call_schema` produces a slightly larger schema than `convert_to_openai_tool()` because it retains `$ref`/`$defs`/`title` fields. Since `count_tokens_approximately` is already an estimate (used only for trigger decisions), this trades a small overestimation for a much cheaper computation. Also handles the case where `tool_call_schema` is already a raw dict.
master
11 hours ago
remove callable
nm/tool_call_schema
11 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
chore: bump jupyterlab from 4.5.9 to 4.5.10 in /libs/core
#39033
4 hours ago
9604441
dependabot/uv/libs/core/jupyterlab-4.5.10
CodSpeed Performance Gauge
0%
chore: bump setuptools from 82.0.0 to 83.0.0 in /libs/core
#39032
4 hours ago
2cc3fed
dependabot/uv/libs/core/setuptools-83.0.0
CodSpeed Performance Gauge
-1%
chore: bump setuptools from 82.0.0 to 83.0.0 in /libs/langchain
#39031
4 hours ago
5814ad7
dependabot/uv/libs/langchain/setuptools-83.0.0
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs