Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core[patch]: optimize trim_messages #30327

Merged
merged 11 commits into from
Mar 21, 2025
Merged

core[patch]: optimize trim_messages #30327

merged 11 commits into from
Mar 21, 2025

Conversation

vbarda
Copy link
Contributor

@vbarda vbarda commented Mar 17, 2025

Refactored w/ Claude

Up to 20x speedup! (with theoretical max improvement of O(n / log n))

@vbarda vbarda requested a review from baskaryan March 17, 2025 17:12
Copy link

vercel bot commented Mar 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Mar 21, 2025 8:41pm

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 17, 2025
@vbarda vbarda marked this pull request as draft March 17, 2025 18:09
@vbarda vbarda marked this pull request as ready for review March 21, 2025 18:57
@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Mar 21, 2025
@vbarda vbarda merged commit 07823cd into master Mar 21, 2025
71 checks passed
@vbarda vbarda deleted the vb/optim-trim-messages branch March 21, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm PR looks good. Use to confirm that a PR is ready for merging. size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants