feat: update default config in run script

This commit is contained in:
zhayujie
2026-06-11 19:30:08 +08:00
parent d5427d967a
commit 6fb19a68b5
2 changed files with 6 additions and 6 deletions

6
run.sh
View File

@@ -880,9 +880,9 @@ base = {
'linkai_api_key': e('LINKAI_KEY', ''), 'linkai_api_key': e('LINKAI_KEY', ''),
'linkai_app_code': '', 'linkai_app_code': '',
'agent': True, 'agent': True,
'agent_max_context_tokens': 40000, 'agent_max_context_tokens': 50000,
'agent_max_context_turns': 30, 'agent_max_context_turns': 20,
'agent_max_steps': 15, 'agent_max_steps': 20,
# New installs opt into self-evolution; existing users (no key) keep the # New installs opt into self-evolution; existing users (no key) keep the
# code default (off) so an upgrade never silently changes their behavior. # code default (off) so an upgrade never silently changes their behavior.
'self_evolution_enabled': True, 'self_evolution_enabled': True,

View File

@@ -638,9 +638,9 @@ function New-ConfigFile {
linkai_api_key = "" linkai_api_key = ""
linkai_app_code = "" linkai_app_code = ""
agent = $true agent = $true
agent_max_context_tokens = 40000 agent_max_context_tokens = 50000
agent_max_context_turns = 30 agent_max_context_turns = 20
agent_max_steps = 15 agent_max_steps = 20
# New installs opt into self-evolution (matches run.sh). # New installs opt into self-evolution (matches run.sh).
self_evolution_enabled = $true self_evolution_enabled = $true
} }