Repository navigation
fix(nooa_agent): send an image a cell showed as a Responses part - #6867
Draft
giuliolovisotto wants to merge 1 commit into
Draft
giuliolovisotto wants to merge 1 commit into
giuliolovisotto wants to merge 1 commit into
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
giuliolovisotto
force-pushed
the
glovisotto/nooa-image-parts
branch
from
November 30, 2026 10:53
f3b1636 to
a95d0c7
Compare
giuliolovisotto
force-pushed
the
glovisotto/nooa-image-parts
branch
from
November 30, 2026 11:47
a95d0c7 to
3f06306
Compare
giuliolovisotto
force-pushed
the
glovisotto/nooa-image-parts
branch
from
November 30, 2026 11:49
3f06306 to
5c005d5
Compare
NOOA attaches what a CodeAct cell showed the model (`show(image)`) to the cell's output as Chat Completions content parts (`text`, `image_url`). The adapter passed that user message on unchanged, the Responses request did not validate, and after NOOA's ten retries the rollout failed. Any task where the model looks at a picture ended that way. A user message's `text` and `image_url` parts are now sent as `input_text` and `input_image`. Other parts are passed on as before. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Giulio Lovisotto <glovisotto@nvidia.com>
giuliolovisotto
force-pushed
the
glovisotto/nooa-image-parts
branch
from
November 30, 2026 13:52
5c005d5 to
76c8893
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixes NOOA rollouts that fail as soon as the model looks at a picture.
NOOA attaches what a CodeAct cell showed the model (
show(image)) to the cell's output as Chat Completions content parts (text,image_url). The adapter passed that user message on unchanged, the Responses request did not validate (NeMoGymResponseCreateParamsNonStreaming), and after NOOA's ten retries the rollout failed with "LLM API error after 10 retries". Any task where the model views an image ended that way.A user message's
textandimage_urlparts are now sent asinput_textandinput_image. Other parts are passed on as before.No issue linked: the failure is described here.
Validation
Run on macOS, in the agent's own environment:
pytest responses_api_agents/nooa_agent/tests: 795 passed, 10 skipped.tests/test_runner.py: a real CodeAct run whose cell shows a 1-pixel PNG; the second model request carries aninput_textand aninput_imagepart and the run completes. Without the fix the same run ends in the validation error above.Rollouts
Terminal-Bench 4.1 on the Harbor environment server: before the fix
cad-modelandlayout-config-recreation2failed with the validation error within the first half hour of a 63-task run. With the fixcad-modelis graded after the model was shown images. Full 63-task runs are in progress.Compatibility and benchmark impact
None for rollouts without media. Rollouts where the model views an image no longer fail in the adapter.
Checklist
pre-commit run --all-files) (so CI lint/format checks pass). Onlyruff checkandruff format --checkwere run on the changed packages.git commit -s) (so the DCO check passes).🤖 Generated with Claude Code