nemo_gym.agents.context_management.client
nemo_gym.agents.context_management.client
Sequential, token-blind context management composed with Gym’s ServerClient.
Module Contents
Classes
Functions
API
Bases: RuntimeError
The next action cannot satisfy the configured guards, even after compaction.
One logical rollout. A transport ambiguity is terminal; it is never retried here.
Agents may pass their complete append-only history to create(body) or call
append_observation(items) followed by create(). Both use the same history.
select_response permits bounded, deliberate resampling of definite responses.
_last_accepted_response_id
_model_calls
_request
_seed_event_count
_selected_ids
_step
config
controller
cookies
history
output_items
Materialize the final conversation once, not a full prefix per action.
async
async
async
Validate the final accepted response and close the policy lifecycle.