enable search config change

This commit is contained in:
Ahmed Ibrahim
2025-08-28 13:01:37 -07:00
parent 1e9e703b96
commit 1a92267a40
9 changed files with 193 additions and 3 deletions
+1
View File
@@ -266,6 +266,7 @@ pub struct SendUserTurnParams {
pub model: String,
pub effort: ReasoningEffort,
pub summary: ReasoningSummary,
pub enable_web_search: bool,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, TS)]
+7
View File
@@ -76,6 +76,9 @@ pub enum Op {
/// Will only be honored if the model is configured to use reasoning.
summary: ReasoningSummaryConfig,
/// Whether to enable web search.
enable_web_search: bool,
},
/// Override parts of the persistent turn context for subsequent turns.
@@ -108,6 +111,10 @@ pub enum Op {
/// Updated reasoning summary preference (honored only for reasoning-capable models).
#[serde(skip_serializing_if = "Option::is_none")]
summary: Option<ReasoningSummaryConfig>,
/// Whether to enable web search.
#[serde(skip_serializing_if = "Option::is_none")]
enable_web_search: Option<bool>,
},
/// Approve a command execution