Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
getsentry
sentry-python
Repository navigation
Code
Issues
356
(356)
Pull requests
52
(52)
Discussions
Actions
Security and quality
2
(2)
Insights
More
items
fix(ai): truncate long message histories
- #4885
#4885
Closed
shellmayr
wants to merge 23 commits into
master
getsentry/sentry-python:master
from
shellmayr/fix/truncate-long-gen_ai-messages
getsentry/sentry-python:shellmayr/fix/truncate-long-gen_ai-messages
Copy head branch name to clipboard
Conversation
Commits
23
(23)
Checks
Files changed
Closed
fix(ai): truncate long message histories
#4885
shellmayr
wants to merge 23 commits into
master
getsentry/sentry-python:master
from
shellmayr/fix/truncate-long-gen_ai-messages
getsentry/sentry-python:shellmayr/fix/truncate-long-gen_ai-messages
Copy head branch name to clipboard
Commits
Commits on Oct 9, 2025
fix(ai): truncate long message histories
shellmayr
committed
40f1ecb
View commit details
Copy full SHA for 40f1ecb
Browse repository at this point
wip
shellmayr
committed
bf386cd
View commit details
Copy full SHA for bf386cd
Browse repository at this point
integrate message truncation in langchain & langgraph
shellmayr
committed
d4bfa31
View commit details
Copy full SHA for d4bfa31
Browse repository at this point
update limit
shellmayr
committed
e95be82
View commit details
Copy full SHA for e95be82
Browse repository at this point
add meta entries
shellmayr
committed
a137be5
View commit details
Copy full SHA for a137be5
Browse repository at this point
truncate message lengths without meta so far
shellmayr
committed
e54151c
View commit details
Copy full SHA for e54151c
Browse repository at this point
truncate simply
shellmayr
committed
5b378fd
View commit details
Copy full SHA for 5b378fd
Browse repository at this point
remove very small limit tests -- not applicable constraint
shellmayr
committed
294c66c
View commit details
Copy full SHA for 294c66c
Browse repository at this point
move message utils to utils, add to all integrations
shellmayr
committed
630a472
View commit details
Copy full SHA for 630a472
Browse repository at this point
clean up tests
shellmayr
committed
6dcc344
View commit details
Copy full SHA for 6dcc344
Browse repository at this point
fix test
shellmayr
committed
e105108
View commit details
Copy full SHA for e105108
Browse repository at this point
fix test
shellmayr
committed
8046c1b
View commit details
Copy full SHA for 8046c1b
Browse repository at this point
dont truncate in huggingface hub
shellmayr
committed
cb2e803
View commit details
Copy full SHA for cb2e803
Browse repository at this point
fix litellm test
shellmayr
committed
455136a
View commit details
Copy full SHA for 455136a
Browse repository at this point
Commits on Oct 14, 2025
use annotatedvalue instead of previous approach
shellmayr
committed
8f0e049
View commit details
Copy full SHA for 8f0e049
Browse repository at this point
Commits on Oct 15, 2025
fix tests for messages as list
shellmayr
committed
ad4f10a
View commit details
Copy full SHA for ad4f10a
Browse repository at this point
fix some more tests
shellmayr
committed
6ac119b
View commit details
Copy full SHA for 6ac119b
Browse repository at this point
fix test
shellmayr
committed
da8813b
View commit details
Copy full SHA for da8813b
Browse repository at this point
wip
shellmayr
committed
44ec306
View commit details
Copy full SHA for 44ec306
Browse repository at this point
remove single message size truncation for now
shellmayr
committed
ed2f642
View commit details
Copy full SHA for ed2f642
Browse repository at this point
wip
shellmayr
committed
cf6f70b
View commit details
Copy full SHA for cf6f70b
Browse repository at this point
fix test
shellmayr
committed
6e173b4
View commit details
Copy full SHA for 6e173b4
Browse repository at this point
fix test
shellmayr
committed
a220aa9
View commit details
Copy full SHA for a220aa9
Browse repository at this point
You can’t perform that action at this time.