diff --git a/crates/assistant_settings/src/assistant_settings.rs b/crates/assistant_settings/src/assistant_settings.rs index 0a5af98ab5..1f27b9f1fc 100644 --- a/crates/assistant_settings/src/assistant_settings.rs +++ b/crates/assistant_settings/src/assistant_settings.rs @@ -433,9 +433,11 @@ pub struct AssistantSettingsContentV2 { /// /// Default: false enable_experimental_live_diffs: Option, - #[schemars(skip)] + /// The default profile to use in the Agent. + /// + /// Default: write default_profile: Option>, - #[schemars(skip)] + /// The available agent profiles. pub profiles: Option, AgentProfileContent>>, /// Whenever a tool action would normally wait for your confirmation /// that you allow it, always choose to allow it. @@ -485,6 +487,7 @@ impl Default for LanguageModelSelection { #[derive(Debug, PartialEq, Clone, Serialize, Deserialize, JsonSchema)] pub struct AgentProfileContent { pub name: Arc, + #[serde(default)] pub tools: IndexMap, bool>, /// Whether all context servers are enabled by default. pub enable_all_context_servers: Option,