From 6fb19a68b5ee812ee70065a94fd61982ff41c522 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Thu, 11 Jun 2026 19:30:08 +0800 Subject: [PATCH] feat: update default config in run script --- run.sh | 6 +++--- scripts/run.ps1 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/run.sh b/run.sh index e4f5ba5a..3c15b0f0 100755 --- a/run.sh +++ b/run.sh @@ -880,9 +880,9 @@ base = { 'linkai_api_key': e('LINKAI_KEY', ''), 'linkai_app_code': '', 'agent': True, - 'agent_max_context_tokens': 40000, - 'agent_max_context_turns': 30, - 'agent_max_steps': 15, + 'agent_max_context_tokens': 50000, + 'agent_max_context_turns': 20, + 'agent_max_steps': 20, # New installs opt into self-evolution; existing users (no key) keep the # code default (off) so an upgrade never silently changes their behavior. 'self_evolution_enabled': True, diff --git a/scripts/run.ps1 b/scripts/run.ps1 index 83e969e1..2386dd87 100644 --- a/scripts/run.ps1 +++ b/scripts/run.ps1 @@ -638,9 +638,9 @@ function New-ConfigFile { linkai_api_key = "" linkai_app_code = "" agent = $true - agent_max_context_tokens = 40000 - agent_max_context_turns = 30 - agent_max_steps = 15 + agent_max_context_tokens = 50000 + agent_max_context_turns = 20 + agent_max_steps = 20 # New installs opt into self-evolution (matches run.sh). self_evolution_enabled = $true }