Repository navigation
test(nooa-agent): add stateful end-to-end smoke - #3432
Conversation
|
🌿 Preview your docs: https://nvidia-preview-codex-nooa-capability-parity.docs.buildwithfern.com/nemo/gym Here are the markdown pages you've updated: |
c3ac921 to
8f80969
Compare
f8f5729 to
594e415
Compare
50e3727 to
d1a0149
Compare
d1a0149 to
061aa6b
Compare
Signed-off-by: Nikhil Deshmudre <[email protected]>
| """Solve a task using resource methods supplied by Gym at runtime.""" | ||
|
|
||
| @strategy(CodeActStrategy()) | ||
| async def solve_task(self, task: str) -> str: |
There was a problem hiding this comment.
solve_task only receives a single task: str, and invoke_solve_task builds that string with _latest_user_text. That drops instructions, developer messages, and any earlier turns.
Other Gym harnesses keep the Responses request intact. SimpleAgent forwards body.responses_create_params and continues from the full input list. A normal Gym row is a developer message plus a user message, for example resources_servers/example_single_tool_call/data/example.jsonl. With this adapter the developer message never reaches CodeAct. The stateful smoke does not catch it, because that row is a single user string.
The runner already passes the whole NeMoGymResponseCreateParamsNonStreaming into the invocation adapter. Could the generation entrypoint take that object, so the method sees the same conversation the other harnesses see?
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/36333617764 |
Summary
Agentwith onesolve_taskentry point and a small Responses adapterThe dataset remains owned by the resources server configuration; it is not part of the agent server configuration and no new dataset is introduced.
Why
This is a focused integration fixture for the full NOOA PR stack. It deliberately avoids a fake model, a new resources-server implementation, benchmark-specific agent inheritance, and duplicated example data.
Closes #3452
Validation
pre-commit run --all-files113 passed1 passedincrement_counter(1),increment_counter(2), andget_counter_value; state changed from3to6; verifier reward was1.0; trajectory and agent observations were presentCompatibility and benchmark impact
No existing dataset, resource implementation, or public API is changed. This adds an opt-in example configuration and smoke entry point only; benchmark results are unaffected.