State = dict[str, Any]
# Common state fields during rollout:
{
"prompt": list[ChatMessage], # Original prompt messages
"completion": list[ChatMessage], # Model's response messages
"answer": str, # Ground truth answer
"task": str, # Task identifier (for EnvGroup)
"info": dict[str, Any], # Additional metadata from dataset
"responses": list[Any], # Raw LLM response objects
"example_id": int, # Row identifier from the dataset
"timing": dict[str, float], # Timing information for generation and scoring
# Custom fields added by specific environments:
"turn": int, # Current turn number (MultiTurnEnv)
"tools_called": list[str], # Tool invocations (ToolEnv)
"game_state": Any, # Game-specific state
}