nemo_gym.server_runtime.request_handling.rollout_context
nemo_gym.server_runtime.request_handling.rollout_context
The middleware that strips a rollout prefix from a request path and sets the current episode for the request.
Tracking the current episode lives in nemo_gym.core.episode_context.
Module Contents
Classes
Functions
Data
API
Strip a rollout prefix and expose it to downstream Gym calls for this request.
_PREFIX
async
Copy the scope for routing and share the rewritten path with outer middleware.