fix(langchain): bump min core version and improve approximate token counting
by ccurme
·
Feb 06, 2026 at 19:31 UTC
·
scan-4bf3eb5be171e8ac
Get this automatically on every PR
Install the Axiomo GitHub App to get Signals as check runs and PR comments on every pull request.
Risk level: Low (0%)
Bump the minimum core version and refine approximate token counting in langchain.
pyproject.toml updates langchain-core version to 1.2.9.
summarization.py modifies count_tokens_approximately to include use_usage_metadata_scaling.
Trusted contributor with 1100 merged PRs. has 207 followers.
Review 2 file(s)
libs/langchain_v1/langchain/agents/middleware/summarization.py
+6
Source code
libs/langchain_v1/pyproject.toml
+2
Configuration
9
minutes to review
low
effort level
none
staleness risk
Standard review process
Good evidence, acceptable risk, ready for merge
Why is coverage_maintained missing? Consider adding this check.