Repository navigation
Conversation
Signed-off-by: Ananth Subramaniam <[email protected]>
Contributor
Author
|
Closing to recreate the remaining Environment Server work as one correctly ordered GitHub Stack. Branch commits are preserved; a replacement PR will follow. |
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.
What does this PR do?
Runs Hermes in a task-owned sandbox when Resources supplies
SandboxAccess, or creates an agent-owned sandbox from its configured provider and spec when access is absent. Both paths return sandbox-captured model and tool observations during close. Required episode tool grants are rejected because Hermes does not yet install them; optional grants may be ignored.This replacement PR follows the legacy compatibility layer so that #3714 must merge first. Previous: #3714. Next: #3491.
No issue is linked because this is one layer of the existing Environment Server stack.
Compatibility impact
This PR also preserves
reasoning_contentonNeMoGymChatCompletionAssistantMessageParam. That affects all chat-completions callers that replay assistant messages, not only Hermes, and is required so thinking-model follow-up requests survive tool calls.Sandbox mode installs Hermes at seed time. The sandbox needs outbound access to GitHub and the Python package index, and the image must match the host CPU architecture and C library because the host
uvbinary is copied in. The runner and terminal tool share one user and writable filesystem; the model can modify the file relay'soutput.json. This mode is suitable for evaluation, not RL training data, until result transport is isolated from model-written files.Validation
responses_api_agents/hermes_agent/.venv/bin/pytest responses_api_agents/hermes_agent/tests/ -q— 57 passedRollouts
See the final integration PR for end-to-end rollout evidence.