Module api_sections
Expand description
Curated config-section endpoints. Used by the /config page in the
web dashboard to navigate the schema by curated section rather than
raw prop paths. OpenAPI is authoritative for the exact route set.
Structs§
- Agent
Options Response - All alias-reference choices an agent form needs, in one round-trip.
Channels and model model_providers are returned in dotted form
(
telegram.default,anthropic.work); the bundle/profile/namespace lists are bare HashMap keys. - Models
Query - Section
Item Path - Section
Path - Section
Select Body
Functions§
- build_
agent_ options - derive_
section_ status - handle_
agent_ options GET /api/config/agent-options— every alias-reference list the agent form needs, derived from the live config. Mirrors the lists the TUI computes locally for its alias pickers.- handle_
catalog GET /api/config/catalog— list every model provider the CLI wizard knows about. The dashboard shows these in the “+ Add model provider” picker so CLI / web stay in sync.- handle_
catalog_ models - handle_
section_ picker - handle_
section_ select - handle_
section_ status - handle_
sections