pub struct ModelApplyStartupOverlayRequest {
pub auto_tier: Option<AutoTier>,
pub cli_model: Option<String>,
pub deferred_resume: Option<bool>,
pub device_managed_model: Option<String>,
pub policy_helper_model: Option<String>,
pub repo_auto_tier: Option<String>,
pub repo_context_tier: Option<String>,
pub repo_model: Option<String>,
pub repo_reasoning_effort: Option<String>,
pub server_managed_model: Option<String>,
}Expand description
Managed, repository, and CLI model overrides to overlay onto the session at startup.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§auto_tier: Option<AutoTier>Effective default Auto routing preference from user and managed settings. Applies only to fresh sessions and never replaces a per-session selection.
cli_model: Option<String>Model explicitly selected by the CLI, when provided.
deferred_resume: Option<bool>Whether the overlay is being applied while resuming a deferred session.
device_managed_model: Option<String>Model required by device-managed policy, when configured.
policy_helper_model: Option<String>Startup default model from the enterprise policy helper, when configured. Weakest of the managed sources: it applies only when neither device nor server policy names a model, and an explicit user selection still wins.
repo_auto_tier: Option<String>Auto routing preference selected by repository settings, when configured. Applied only when the overlay selects the Auto model; beside a concrete model it stays dormant.
repo_context_tier: Option<String>Context tier selected by repository settings, when configured.
repo_model: Option<String>Model selected by repository settings, when configured.
repo_reasoning_effort: Option<String>Reasoning effort selected by repository settings, when configured.
server_managed_model: Option<String>Model required by server-managed policy, when configured.