refactor: 模型管理改为表格与弹窗交互

This commit is contained in:
2026-09-20 16:53:17 +08:00
parent 9350323ff2
commit 5393ad3423
15 changed files with 794 additions and 455 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ apps/agent/
| 表 | 说明 |
|----|------|
| `agent_company_llm_provider` | 公司多套 `base_url` + 加密 Key |
| `agent_company_llm_model` | 挂 `provider_id`;`UNIQUE(provider_id, model)`;公司级全局一条 `is_default=1` |
| `agent_company_llm_model` | 挂 `provider_id`;`UNIQUE(provider_id, model)`;`enabled` 启停;公司级全局一条 `is_default=1`(须启用) |
浏览器:
- `GET/POST /api/company/agent-llm-providers`;`GET/PUT/DELETE .../providers/{id}`;`PUT .../providers/{id}/models`(增量 upsert)