Skip to main content

Module presets

Module presets 

Expand description

Quickstart preset tables and submission shape.

Re-exports§

pub use crate::multi_agent::MemoryBackendKind as MemoryChoice;

Structs§

AgentIdentity
Agent identity payload from the Agent step. Personality file authoring is handled by the existing PersonalityEditor widget; Quickstart passes only the chosen personality_file path here.
BuilderSubmission
Complete builder submission consumed by the shared Quickstart apply path.
ChannelQuickStart
One channel selection submitted by the Quickstart builder.
ModelProviderChoice
Model provider selection submitted by the Quickstart builder.
QuickstartPeerGroup
Peer-group entry staged in the Quickstart. Maps 1:1 to a [peer_groups.<name>] table written at apply time. The channel field carries a <type>.<alias> ref pointing at either a staged channel from the same submission or a pre-existing one.
QuickstartPersonalityFile
One personality file staged for write during Quickstart apply. The runtime writes <workspace>/<filename> with content, overwriting if the path already exists.
RiskPreset
One row in the Risk preset table. The Quickstart UI renders the label, the runtime writes values to risk-profiles.<preset_name> on apply.
RuntimePreset
One row in the Runtime preset table. Same shape and contract as RiskPreset — see its docs for the per-field semantics.

Enums§

SelectorChoice
Selects either an existing configured value or a fresh builder value.

Constants§

DEFAULT_RUNTIME_PRESET_NAME
Canonical fallback used when no provider-specific runtime recommendation exists.
LOCAL_SMALL_RUNTIME_PRESET_NAME
Canonical compact runtime recommended by local inference backends.
RISK_PRESETS
Canonical Risk preset table. Order is the order the picker renders. Add or remove a preset by editing one row here; every consumer reads from the slice so nothing else has to change.
RUNTIME_PRESETS
Canonical Runtime preset table. See RISK_PRESETS for the ordering / consumer contract.

Functions§

recommended_runtime_preset
Resolve an optional provider recommendation against the canonical preset table. Unknown or absent recommendations fall back to unbounded, then to the first available preset so consumers never duplicate fallback policy.
risk_preset
Look up a Risk preset by its preset_name. Returns None for unknown keys.
runtime_preset
Look up a Runtime preset by its preset_name. Returns None for unknown keys.