mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-17 11:07:11 +08:00
feat: update default config in run script
This commit is contained in:
6
run.sh
6
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,
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user