diff --git a/assets/settings/default.json b/assets/settings/default.json index b544e83a0af27b42b2848d47f289c610b6f4d4f9..3a0c0754c9ee0b48275e76c12f1ad91f7945e53f 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -821,6 +821,8 @@ "default_width": 640, // Default height when the agent panel is docked to the bottom. "default_height": 320, + // The view to use by default (thread, or text_thread) + "default_view": "thread", // The default model to use when creating new threads. "default_model": { // The provider to use. @@ -929,7 +931,11 @@ /// Whether to have terminal cards in the agent panel expanded, showing the whole command output. /// /// Default: true - "expand_terminal_card": true + "expand_terminal_card": true, + /// Whether to always use cmd-enter (or ctrl-enter on Linux or Windows) to send messages in the agent panel. + /// + /// Default: false + "use_modifier_to_send": false }, // The settings for slash commands. "slash_commands": { diff --git a/crates/agent/src/thread.rs b/crates/agent/src/thread.rs index 7b70fde56ab1e7acb6705aeace82f142dc28a9f3..8b9d489ccf472ca16435934e48a12b70dc783c40 100644 --- a/crates/agent/src/thread.rs +++ b/crates/agent/src/thread.rs @@ -3272,7 +3272,7 @@ mod tests { // Test-specific constants const TEST_RATE_LIMIT_RETRY_SECS: u64 = 30; - use agent_settings::{AgentProfileId, AgentSettings, LanguageModelParameters}; + use agent_settings::{AgentProfileId, AgentSettings}; use assistant_tool::ToolRegistry; use assistant_tools; use futures::StreamExt; @@ -3289,7 +3289,7 @@ mod tests { use project::{FakeFs, Project}; use prompt_store::PromptBuilder; use serde_json::json; - use settings::{Settings, SettingsStore}; + use settings::{LanguageModelParameters, Settings, SettingsStore}; use std::sync::Arc; use std::time::Duration; use theme::ThemeSettings;