feat(ui): 增加模型连接性测试功能并优化对话框 ESC 键处理

- 模型测试: 新增测试按钮,支持多 API 格式选择
- ESC 键: 重构为全局栈管理,支持嵌套对话框
- 修复: check_endpoint 使用 FORMAT_ID 替代 name
- 优化: Redis 连接池添加健康检查

Co-authored-by: htmambo <[email protected]>
This commit is contained in:
fawney19
2026-01-13 20:11:09 +08:00
co-authored by htmambo
parent 6fdb944b1e
commit 8c4c5fa394
5 changed files with 196 additions and 31 deletions
@@ -374,6 +374,7 @@
v-if="provider"
:key="`models-${provider.id}`"
:provider="provider"
:endpoints="endpoints"
@edit-model="handleEditModel"
@delete-model="handleDeleteModel"
@batch-assign="handleBatchAssign"