Skip to content

cp: feat(agent): allow session-owned tool execution (4111) into r0.7.0 - #4130

Merged
ananthsub merged 1 commit into
r0.7.0from
cherry-pick-4111-r0.7.0
Oct 6, 2026
Merged

ananthsub merged 1 commit into
r0.7.0from
cherry-pick-4111-r0.7.0

Conversation

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

beep boop [🤖]: Hi @ffrujeri 👋,

we've cherry picked #4111 into `r0.7.0` for you! 🚀

Please review and approve this cherry pick by your convenience!

## What changed and why

Adds a documented `execute_tools` control to SimpleAgent for Environment
Server agent sessions. When disabled, a session activation returns
unresolved function calls to its owning Environment Server. Plain
`/v1/responses` and legacy `/run` reject that configuration instead of
silently producing truncated rollouts.

This extracts the generic SimpleAgent dependency requested while
reviewing #3800 and supports the UserSim runtime tracked by #985.

## Validation

- `uv run pytest responses_api_agents/simple_agent/tests/test_app.py -q`
— 29 passed
- `uv run pre-commit run --files
responses_api_agents/simple_agent/app.py
responses_api_agents/simple_agent/tests/test_app.py` — passed
- `git diff --check origin/main...HEAD` — passed

## Rollout evidence

N/A: this is a focused Agent session-control change. The dependent
UserSim runtime PR owns end-to-end rollout validation.

## Compatibility

Default behavior remains `execute_tools: true`. The new false setting is
rejected outside agent sessions.

Signed-off-by: Felipe Vieira Frujeri <[email protected]>
Signed-off-by: NeMo Bot <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Oct 6, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@svcnvidia-nemo-ci svcnvidia-nemo-ci added area:agent Agent harnesses and Responses API agent behavior cherry-pick complexity:low Localized change in one scope with a small, straightforward review surface feature New capabilities, enhancements, or enablement work ready-to-merge PR is approved, current, and waiting for final CI or merge Run CICD labels Oct 6, 2026
@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor Author

/ok to test 9c93162

@ananthsub
ananthsub enabled auto-merge (squash) October 6, 2026 19:53
@nemo-automation-bot
nemo-automation-bot Bot requested a review from a team October 6, 2026 19:53
@ananthsub
ananthsub disabled auto-merge October 6, 2026 20:07
@ananthsub
ananthsub merged commit e16fc25 into r0.7.0 Oct 6, 2026
44 checks passed
@ananthsub
ananthsub deleted the cherry-pick-4111-r0.7.0 branch October 6, 2026 20:16

This branch was previously deployed

1 inactive deployment
public — 9c931624 Deployed Oct 6, 2026 by copy-pr-bot[bot] via release / finalize / notify #4475
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:agent Agent harnesses and Responses API agent behavior cherry-pick complexity:low Localized change in one scope with a small, straightforward review surface feature New capabilities, enhancements, or enablement work ready-to-merge PR is approved, current, and waiting for final CI or merge Run CICD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants