Skip to main content

Module config

Module config 

Source

Structs§

RuntimeModelSelection
Resolved model selection for the current runtime, combining CLI overrides, workspace config defaults, and inferred provider information.

Functions§

api_key_env_var
build_runtime_agent_config
Build a fully resolved AgentConfig from CLI arguments, workspace config, resolved model selection, API key, and theme selection.
provider_label
Return a human-readable display name for the given provider, consulting custom provider configuration when available.
resolve_checkpointing_storage_dir
Resolve the checkpointing storage directory, joining relative paths against the workspace root. Returns None if no storage directory is configured.
resolve_runtime_model_selection
Resolve the model, provider, and selection source by merging CLI arguments with workspace configuration. CLI flags take precedence over config defaults.