feat: 更新 Web 前端页面

- 更新 Agents、Chat、Settings 等页面
- 新增 ModelAPIs 页面
- 更新各个模块的 composables
- 更新 vite 配置和依赖版本

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 21:29:01 +08:00
parent 71e8cc59d5
commit ecb6be6463
24 changed files with 1031 additions and 757 deletions

View File

@@ -122,7 +122,7 @@ const sendMessage = async () => {
try {
const requestBody: any = {
agent_id: selectedAgent.value?.id || 1,
agent_id: String(selectedAgent.value?.id || 1),
message: userContent,
}