feat(agents): 创建专家页面加模型选择
NewAgentPage 在两处加 Select 下拉: - 左侧聊天框上方 "当前对话模型":透传给 useThreadStream 的 context.model_name,控制当前 bootstrap 对话调用的 LLM - 右侧表单 "模型":写入 agent.model,控制专家保存后被使用时调用 的 LLM 两个下拉互相独立,复用 useModels() 拉 /api/models。页面加载完 模型列表后自动 seed 到列表第一个(与 config.yaml 全局默认对齐), 用户可随时切换。 杂项:.gitignore 忽略 skills/ 与 hermes-agent-main/ 运行时目录。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
4cc8b3198b
commit
4e764350a4
2 files changed
+77
-1
No files matched your search
@@ -64,3 +64,7 @@ offline-backend-20260512/backend/.deer-flow/*
|
||||
offline-backend-20260512/start_backend.sh
|
||||
offline-backend-20260512/stop_backend.sh
|
||||
offline-backend-20260512/check_backend.sh
|
||||
|
||||
skills/
|
||||
hermes-agent-main/
|
||||
.gitignore
|
||||
Reference in new issue
Block a user