pub struct AppConfig {Show 15 fields
pub model: 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 model_supports_reasoning: bool,
pub session_info: Option<Arc<Mutex<Option<SessionInfoInternal>>>>,
pub api_key: String,
}Expand description
Configuration for the UI app.
Fields§
§model: 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).
model_supports_reasoning: boolWhether the current model supports reasoning (for showing thinking level in footer).
session_info: Option<Arc<Mutex<Option<SessionInfoInternal>>>>Session info Arc for /session command (shared with CommandsExtension).
api_key: StringAPI key for yoagent provider.
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