Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

Raise the default agent turn limit from 16 to 200 (#7771)

Eric Hayes03f127e38f70
diff --git a/crates/agent/src/agent_loop.rs b/crates/agent/src/agent_loop.rs
index d73e1587bc..67b25611bf 100644
--- a/crates/agent/src/agent_loop.rs
+++ b/crates/agent/src/agent_loop.rs
@@ -18,7 +18,7 @@ use std::sync::{Arc, Mutex, RwLock};
use tokio_util::sync::CancellationToken;
use tracing::Instrument as _;
-const DEFAULT_MAX_TURNS: usize = 16;
+const DEFAULT_MAX_TURNS: usize = 200;
const DEFAULT_MAX_TOKENS: u64 = 16_000;
/// A session's system prompt, optionally split where the part every session