Skip to content

core: fix trim_messages token_counter detection for lambdas and postponed annotations#35657

Closed
Alvin Tang (alvinttang) wants to merge 1 commit into
langchain-ai:masterfrom
alvinttang:fix/trim-messages-callable-counter
Closed

core: fix trim_messages token_counter detection for lambdas and postponed annotations#35657
Alvin Tang (alvinttang) wants to merge 1 commit into
langchain-ai:masterfrom
alvinttang:fix/trim-messages-callable-counter

core: fix trim_messages callable token_counter detection for lambdas,…

d44e9cb
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Mar 8, 2026 in 0s

Performance Gate Passed

⚠️ 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.

✅ 13 untouched benchmarks
⏩ 23 skipped benchmarks1


Comparing alvinttang:fix/trim-messages-callable-counter (d44e9cb) with master (29134dc)2

Open in CodSpeed

Footnotes

  1. 23 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.

  2. No successful run was found on master (532b014) during the generation of this report, so 29134dc was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.