- config/sub_agent.py: 新增 resolve_sub_agent_models_config() 和 SUB_AGENT_MODELS_CONFIG_FILE,回退链:外置 → 源码种子 → easyagent/ 旧位置 → .example 兜底 - modules/sub_agent_manager.py: 子进程启动时传递 --config-file 参数 - easyagent/src/config.js: ensureConfig() 支持可选 customPath 参数 - easyagent/src/batch/index.js: 新增 --config-file CLI 参数 - config/sub_agent_models.json.example: 新增种子模板 - easyagent/models.json: 更新默认模型
16 lines
305 B
Plaintext
16 lines
305 B
Plaintext
{
|
|
"tavily_api_key": "",
|
|
"default_model": "",
|
|
"models": [
|
|
{
|
|
"url": "https://api.example.com/v1",
|
|
"name": "example-model",
|
|
"apikey": "${YOUR_API_KEY_ENV}",
|
|
"modes": "快速,思考",
|
|
"multimodal": "",
|
|
"max_output": 32000,
|
|
"max_context": 256000
|
|
}
|
|
]
|
|
}
|