Sitelet https://github.com/langchain-ai/langchain/pull/35098
Skip to content

feat(core): count tokens from tool schemas in count_tokens_approximately - #35098

Merged
ccurme (ccurme) merged 1 commit into
masterfrom
cc/token_counting_tools
Feb 9, 2026
Merged

ccurme (ccurme) merged 1 commit into
masterfrom
cc/token_counting_tools

Conversation

@ccurme

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot added feature For PRs that implement a new feature; NOT A FEATURE REQUEST internal core `langchain-core` package issues & PRs and removed feature For PRs that implement a new feature; NOT A FEATURE REQUEST internal labels Feb 9, 2026
@codspeed

codspeed Bot commented Feb 9, 2026

Copy link
Copy Markdown

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing cc/token_counting_tools (17ace50) with master (f0a808d)

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 13 untouched benchmarks
⏩ 21 skipped benchmarks1

Footnotes

  1. 21 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@ccurme
ccurme (ccurme) merged commit e8e47b0 into master Feb 9, 2026
93 checks passed
@ccurme
ccurme (ccurme) deleted the cc/token_counting_tools branch February 9, 2026 19:11
DreamZhongJu pushed a commit to DreamZhongJu/langchain that referenced this pull request Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core `langchain-core` package issues & PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants