Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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
Public
Notifications
You must be signed in to change notification settings
Fork
673
Star
2.2k
Code
Issues
357
Pull requests
55
Discussions
Actions
Security and quality
2
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
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.