pub struct AppConfig {Show 16 fields
pub model: String,
pub provider: String,
pub system_prompt: String,
pub extensions: Vec<Box<dyn Extension>>,
pub cwd: PathBuf,
pub thinking_level: Option<String>,
pub available_models: Vec<String>,
pub hide_thinking: bool,
pub collapse_tool_output: bool,
pub interactive: bool,
pub settings: Settings,
pub context_files: Vec<String>,
pub skills: Vec<Skill>,
pub session_info: Option<Arc<Mutex<Option<SessionInfoInternal>>>>,
pub api_key: String,
pub registry: Arc<ProviderRegistry>,
}Expand description
Configuration for the UI app.
Fields§
§model: String§provider: String§system_prompt: String§extensions: Vec<Box<dyn Extension>>§cwd: PathBuf§thinking_level: Option<String>§available_models: Vec<String>§hide_thinking: bool§collapse_tool_output: bool§interactive: bool§settings: Settings§context_files: Vec<String>Context files (AGENTS.md / CLAUDE.md) loaded for the session.
skills: Vec<Skill>Skills loaded for the session (used for /skill:name expansion).
session_info: Option<Arc<Mutex<Option<SessionInfoInternal>>>>Session info Arc for /session command (shared with CommandsExtension).
api_key: StringAPI key for yoagent provider.
registry: Arc<ProviderRegistry>Provider registry for model resolution and provider dispatch.
Auto Trait Implementations§
impl !RefUnwindSafe for AppConfig
impl !UnwindSafe for AppConfig
impl Freeze for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more