Repository navigation
cp: feat(agent): allow session-owned tool execution (4111) into r0.7.0 - #4130
Merged
Merged
Conversation
## 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]>
Contributor
Author
|
/ok to test 9c93162 |
ananthsub
approved these changes
Oct 6, 2026
ananthsub
enabled auto-merge (squash)
October 6, 2026 19:53
ananthsub
disabled auto-merge
October 6, 2026 20:07
This branch was previously 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.
beep boop [🤖]: Hi @ffrujeri 👋,