fix: adjust default turns

This commit is contained in:
zhayujie
2026-02-28 15:25:20 +08:00
parent a33ce97ed9
commit e9c57ddf4d
4 changed files with 5 additions and 5 deletions

View File

@@ -480,7 +480,7 @@ class Agent:
# Get max_context_turns from config
from config import conf
max_context_turns = conf().get("agent_max_context_turns", 30)
max_context_turns = conf().get("agent_max_context_turns", 20)
# Create stream executor with copied message history
executor = AgentStreamExecutor(