settings_catalog
¶
The settings of MuJoCo Mojo as SensAI's docs agent reads them: one entry for each setting, in words.
The settings are described only on their fields, each with a title, a description, a default and sometimes a list of choices, which is also what the settings panel shows. This reads them off the settings schema instead of from a page that would have to be kept in step with the code. A setting is found by the section or key prefix it sits under (dojo, dojo.sensai), or by words in its key, label or description.
A secret setting is listed too, marked as one the settings panel does not show: a schema carries a field's description and default, never the value it holds, and the panel's omission is exactly why a user may need to be told the setting exists.
Setting
¶
Bases: BaseModel
One setting, as its key, the label the settings panel gives it, the values it takes, its default and what it does.
-
Reference
mujoco_mojoutilslayersdojosensaisettings_catalogread_from
choices
class-attribute
instance-attribute
¶
What each value means, for a setting that takes one of a few.
secret
class-attribute
instance-attribute
¶
secret: bool = False
Whether it holds a secret, which the settings panel does not show.
section
property
¶
section: str
The first part of the key, which is the section of the settings panel it is in.
text
¶
text() -> str
The setting written out for the agent to read.
Source code in src/mujoco_mojo/utils/layers/dojo/sensai/settings_catalog.py
settings_from_schema
¶
The settings a JSON Schema of the settings describes, in the order the schema lists them.
Source code in src/mujoco_mojo/utils/layers/dojo/sensai/settings_catalog.py
settings
cached
¶
Every setting of this install.
Source code in src/mujoco_mojo/utils/layers/dojo/sensai/settings_catalog.py
read_from
¶
What read_settings answers for the settings in found.
Source code in src/mujoco_mojo/utils/layers/dojo/sensai/settings_catalog.py
read_settings
¶
The settings of this install, written out: all of a section (dojo, dojo.sensai), or the ones that match some words. With no section, the list of sections.