agent-Specialization/config/sub_agent_models.json.example
JOJO 4ba15555b7 refactor(sub_agent): 子智能体模型配置外置化,对齐 custom_models.json 设计
- 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: 更新默认模型
2026-06-10 01:44:39 +08:00

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
}
]
}