-
Notifications
You must be signed in to change notification settings - Fork 578
fix(ai): Keep single content input message #5345
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
base: webb/openai-agents-chat-system-instructions
Are you sure you want to change the base?
fix(ai): Keep single content input message #5345
Conversation
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨
Bug Fixes 🐛Ai
Internal Changes 🔧
🤖 This preview updates automatically when you update the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
This reverts commit 01d0619.
Description
Store only one message from the conversation history on the
gen_ai.request.messagesattribute.Keep prior logic that progressively trims away messages only for embeddings. Removes tests that check the existence of conversation histories or prompt messages that are no longer set on the attribute.
Issues
Closes #5335
Reminders
tox -e linters.feat:,fix:,ref:,meta:)