Repository navigation
Conversation
Signed-off-by: Giedrius Burachas <gburachas@nvidia.com>
Signed-off-by: Giedrius Burachas <gburachas@nvidia.com>
Signed-off-by: Giedrius Burachas <gburachas@nvidia.com>
Signed-off-by: Giedrius Burachas <gburachas@nvidia.com>
|
No actionable comments were generated in the recent review. WalkthroughVGR now defaults to attempting attachments on the efficient tier and does not serve an unverified efficient-tier answer after selecting the capable tier. Attachment rejection matching covers additional audio and image errors. OpenAI Chat preserves video attachments, while OpenAI Responses rejects them as invalid requests. ChangesVGR Media Handling
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk:
|
What
Fix multimodal attachment handling across VGR, backend health, and format translation (QA BUG-47 through BUG-50).
efficient_supports_attachments = falsestill opts out.video_urlblocks as video. Reject translation to Responses with HTTP 400 before sending a cloud request, rather than encoding the video payload as text.Why
Unsupported media could take a healthy local backend out of service, send base64 video to cloud as billable text, or bypass VGR verification after cloud rejected an attachment. These changes return explicit errors and keep unrelated requests usable.
BUG-47 uses its permitted error outcome when cloud cannot read the attachment. This also addresses BUG-50 without serving a rejected local answer.
Notes for reviewers
Start with VGR outcome construction, shared attachment-error classification, and the Chat/Responses content codecs. HTTP regressions cover audio followed by text on Auto and Local Only, video rejection before cloud egress, and ICO/JPEG/MP4 cloud rejection with buffered and streaming requests.
Behavior changes:
offandshadowmodes still serve cloud. This setting does not discover model modality support. Local models and judges must support the formats they receive. Existing configurations can setefficient_supports_attachments = trueand reload/restart the integration, or omit the setting after upgrading.Validation passed:
The protocol, VGR, client, runner, and HTTP server suites passed 769 tests on the final code. The translation suite passed 274 tests; its code has not changed since that run. Reproductions use mocked upstream errors and synthetic attachment payloads. Live model endpoints and full-size media were not tested.
No CI behavior changes.
Summary by CodeRabbit