pub struct SynapsConfig {Show 25 fields
pub model: Option<String>,
pub thinking_budget: Option<u32>,
pub context_window: Option<u64>,
pub compaction_model: Option<String>,
pub max_tool_output: usize,
pub bash_timeout: u64,
pub bash_max_timeout: u64,
pub subagent_timeout: u64,
pub api_retries: u32,
pub telemetry: String,
pub cache_diagnostics: bool,
pub cache_ttl: CacheTtl,
pub max_fps: u32,
pub theme: Option<String>,
pub agent_name: Option<String>,
pub identity: Option<String>,
pub disabled_plugins: Vec<String>,
pub favorite_models: Vec<String>,
pub disabled_skills: Vec<String>,
pub shell: ShellConfig,
pub server: ServerConfig,
pub bridge: BridgeConfig,
pub provider_keys: BTreeMap<String, String>,
pub keybinds: HashMap<String, String>,
pub warnings: Vec<String>,
}Expand description
Parsed configuration from the config file.
Fields§
§model: Option<String>§thinking_budget: Option<u32>§context_window: Option<u64>§compaction_model: Option<String>§max_tool_output: usize§bash_timeout: u64§bash_max_timeout: u64§subagent_timeout: u64§api_retries: u32§telemetry: String§cache_diagnostics: bool§cache_ttl: CacheTtlPrompt-cache TTL strategy: “5m” (default) | “1h” | “hybrid”.
max_fps: u32Max TUI redraw rate in frames/sec — caps streaming redraws (e.g. 60,
144, 240). User input always redraws immediately regardless. Default
60. Range 1–1000. The frame budget is 1000 / max_fps ms.
theme: Option<String>§agent_name: Option<String>§identity: Option<String>§disabled_plugins: Vec<String>§favorite_models: Vec<String>§disabled_skills: Vec<String>§shell: ShellConfig§server: ServerConfig§bridge: BridgeConfig§provider_keys: BTreeMap<String, String>§keybinds: HashMap<String, String>§warnings: Vec<String>Non-fatal problems found while parsing the config file (unknown keys, unparseable values). Surfaced once at startup — never block boot.
Trait Implementations§
Source§impl Clone for SynapsConfig
impl Clone for SynapsConfig
Source§fn clone(&self) -> SynapsConfig
fn clone(&self) -> SynapsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SynapsConfig
impl Debug for SynapsConfig
Auto Trait Implementations§
impl Freeze for SynapsConfig
impl RefUnwindSafe for SynapsConfig
impl Send for SynapsConfig
impl Sync for SynapsConfig
impl Unpin for SynapsConfig
impl UnsafeUnpin for SynapsConfig
impl UnwindSafe for SynapsConfig
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