-
Notifications
You must be signed in to change notification settings - Fork 3k
fix: enable parsing of OpenAI-compatible agent mode messages #6108
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: main
Are you sure you want to change the base?
Conversation
Your cubic subscription is currently inactive. Please reactivate your subscription to receive AI reviews and use cubic. |
✅ Deploy Preview for continuedev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
😱 Found 1 issue. Time to roll up your sleeves! 😱 |
Are the PR test failures just flake? Reading through the logs, it looks like many of these tests don't even reach the point where The tests ran on June 12 @ 8:07 PM PST, which was not at the same time as the big google outage on June 12 between 1PM PST and 4PM PST. I think the tests should be re-run. |
That was my thinking as well. I don't have permission to re-run the tests, so someone associated with the project will need to do it. |
Description
This implements proper parsing of agent mode messages for qwen3 and other OpenAI-compatible models which support tool use. This means that agent mode for Open-AI compatible models will now work properly, with the exception of messages which include multiple tool calls in a single message. Existing code does not support this, and this requires further changes of unknown scope.
Fixes #5419.
Checklist
Screenshots
See issue #5419 for Before screenshots.
Tests
Added a new test suite for the
sessionSlice
reducer'sstreamUpdate
function, including all cases related to this functionality.