Repository navigation
Studio: follow-up fix for GGUF developer prompts - #6115
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the audio_input_stream endpoint in studio/backend/routes/inference.py to prepend or set system messages for GGUF messages, and adds a corresponding unit test in studio/backend/tests/test_openai_tool_passthrough.py. The reviewer suggests parameterizing this new unit test to cover both streaming and non-streaming execution paths to ensure complete coverage.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a00c4430db
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
a00c443 to
39df496
Compare
Follow-up to merged PR #6010.
That PR fixed OpenAI and Anthropic API compatibility. A live smoke test after merge found one GGUF chat case still failing when a request includes both system and developer messages.
Qwen templates reject duplicate system turns with:
System message must be at the beginning.
This change sends one merged system prompt to standard GGUF chat and the GGUF passthrough paths for response_format and native tools.
Verified: