nemo_gym.base_responses_api_agent
nemo_gym.base_responses_api_agent
Module Contents
Classes
API
Bases: BaseServer
Bases: BaseResponsesAPIAgent, AggregateMetricsMixin, SimpleServer
Return whether this agent needs rollout correlation.
Evaluation uses /ng-rollout/<id>/... for every agent.
Training capture uses /ng-rollout/<id>/training-token-capture/....
Training capture requires token_id_capture.enabled.
It also requires the static agent flag or run-level all_agents.
Missing global configuration disables correlation.
Whether evaluation model-call observability is enabled.
Whether this agent explicitly opted into training-token capture.
Default: same RewardProfiler aggregation as resources server. Override to proxy.
Apply this run’s capture path to a model-server root URL.
Append the API-version suffix after this method returns.
Resolve a model-server URL with an optional rollout prefix.
Return the capture id for a run request.
Return None when capture is disabled.
Return None when the body has no usable identity.
Carry an inbound capture path onto a downstream URL path.
Prefixed self-calls expose the rollout id as a path parameter. Training-capture requests preserve their dedicated path segment. Unprefixed requests remain unchanged.
Apply this run’s capture path to a downstream URL path.
Evaluation uses /ng-rollout/<id>/....
Training capture uses /ng-rollout/<id>/training-token-capture/....
Calls without a rollout id remain unchanged.