refactor(core): 统一配置系统,移除 config.json
- 移除 config.json,所有配置统一从 agents.json 和 providers.json 读取 - config-loader.ts 从全局目录 ~/.ai-terminal-assistant/ 加载配置 - loadConfig() 从 agentRegistry.getGlobalConfig() 获取 defaults.model - 添加 loadVisionConfig() 支持 Vision 模型配置 - Tavily API Key 仅从环境变量读取 - UI AgentDefaultsEditor 添加 Vision 模型配置界面 - 更新相关测试
This commit is contained in:
@@ -496,6 +496,8 @@ export interface AgentDefaults {
|
||||
maxSteps?: number;
|
||||
/** 模型配置 */
|
||||
model?: AgentModelConfig;
|
||||
/** Vision 模型配置(用于图片理解) */
|
||||
vision?: AgentModelConfig;
|
||||
/** 权限配置 */
|
||||
permission?: AgentPermission;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user