summaryrefslogtreecommitdiff
path: root/makima/src/daemon/ws/protocol.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/daemon/ws/protocol.rs')
-rw-r--r--makima/src/daemon/ws/protocol.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/makima/src/daemon/ws/protocol.rs b/makima/src/daemon/ws/protocol.rs
index d0bcc19..d9a91e9 100644
--- a/makima/src/daemon/ws/protocol.rs
+++ b/makima/src/daemon/ws/protocol.rs
@@ -387,6 +387,10 @@ pub enum DaemonCommand {
/// Used to inject previous conversation context into the prompt.
#[serde(rename = "conversationHistory", default)]
conversation_history: Option<serde_json::Value>,
+ /// Override max_iterations for this task (optional).
+ /// If not set, uses the daemon's configured max_iterations.
+ #[serde(rename = "maxIterations", default)]
+ max_iterations: Option<u32>,
},
/// Pause a running task.