deps
¶
Runtime context shared by the SensAI chat agent and its domain agents.
SensAIDeps
dataclass
¶
SensAIDeps(
job_status: JobStatus | None,
column_manifest: ColumnManifest,
current_plot_config: PlotConfig | None,
plot_edit_refusal: str | None = None,
trace: ToolTrace | None = None,
versus: VersusState | None = None,
versus_trials_added: int = 0,
max_requests: int = DEFAULT_MAX_REQUESTS,
max_versus_trials: int = DEFAULT_MAX_VERSUS_TRIALS,
)
Runtime context available to the SensAI chat agent and every domain agent it delegates to.
-
Reference
mujoco_mojoutilslayersdojosensai-
chat_agent -
column_manifest_agent -
job_status_agent-
compare_trials -
get_completion_timeline -
get_duration_statistics -
get_errored_trials -
get_input_distributions -
get_input_outliers -
get_job_configuration -
get_job_summary -
get_recent_trials -
get_requirement_results -
get_running_trials -
get_trial_breakdown -
get_trial_details -
get_trial_inputs -
get_trial_log -
get_trials_by_duration
-
-
plot_config_agent
-
job_status
instance-attribute
¶
job_status: JobStatus | None
The current job, or None if no job is loaded.
column_manifest
instance-attribute
¶
column_manifest: ColumnManifest
Signal column names available in the current trial's telemetry data.
current_plot_config
instance-attribute
¶
current_plot_config: PlotConfig | None
The plot config currently active in the trial viewer, or None if not set.
plot_edit_refusal
class-attribute
instance-attribute
¶
plot_edit_refusal: str | None = None
Why the plot agent's latest edit or profile load was refused, or None if it was not. When the model keeps repeating a refused call until it runs out of tries, the chat agent tells the user this instead of the turn failing.
trace
class-attribute
instance-attribute
¶
trace: ToolTrace | None = None
Where the tool calls of this message are recorded for the chat to show, or None when nothing is watching. The chat agent hands it to each specialist's run, which is how a specialist's own tool calls are seen.
versus
class-attribute
instance-attribute
¶
versus: VersusState | None = None
Versus mode as the trial viewer has it, or None when the message did not come from a trial viewer. set_versus replaces it, and the router sends the browser the new one if it differs.
versus_trials_added
class-attribute
instance-attribute
¶
versus_trials_added: int = 0
Trials this message has added to versus mode so far, which max_versus_trials is checked against.
max_requests
class-attribute
instance-attribute
¶
max_requests: int = DEFAULT_MAX_REQUESTS
dojo.sensai.max_requests. The specialists' runs are given it too, since they share the message's count.
max_versus_trials
class-attribute
instance-attribute
¶
max_versus_trials: int = DEFAULT_MAX_VERSUS_TRIALS
dojo.sensai.max_versus_trials.