pub struct AppConfig {Show 18 fields
pub model: String,
pub system_prompt: String,
pub tools: Vec<ToolDef>,
pub agent_tools: Vec<Box<dyn AgentTool>>,
pub extensions: Vec<Box<dyn Extension>>,
pub provider: Box<dyn Provider>,
pub cwd: PathBuf,
pub thinking_level: Option<String>,
pub git_branch: 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 tool_execution: ToolExecutionMode,
pub skills: Vec<Skill>,
pub model_supports_reasoning: bool,
}Expand description
Configuration for the UI app.
Fields§
§model: String§system_prompt: String§tools: Vec<ToolDef>§agent_tools: Vec<Box<dyn AgentTool>>§extensions: Vec<Box<dyn Extension>>§provider: Box<dyn Provider>§cwd: PathBuf§thinking_level: Option<String>§git_branch: 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.
tool_execution: ToolExecutionModeTool execution mode (parallel by default).
skills: Vec<Skill>Skills loaded for the session (used for /skill:name expansion).
model_supports_reasoning: boolWhether the current model supports reasoning (for showing thinking level in footer).
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