mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 01:40:21 +08:00
feat(ui): 增加模型连接性测试功能并优化对话框 ESC 键处理
- 模型测试: 新增测试按钮,支持多 API 格式选择 - ESC 键: 重构为全局栈管理,支持嵌套对话框 - 修复: check_endpoint 使用 FORMAT_ID 替代 name - 优化: Redis 连接池添加健康检查 Co-authored-by: htmambo <htmambo@users.noreply.github.com>
This commit is contained in:
@@ -641,7 +641,7 @@ class ChatAdapterBase(ApiAdapter):
|
||||
url=url,
|
||||
headers=headers,
|
||||
json_body=body,
|
||||
api_format=cls.name,
|
||||
api_format=cls.FORMAT_ID,
|
||||
# 用量计算参数(现在强制记录)
|
||||
db=db,
|
||||
user=user,
|
||||
|
||||
Reference in New Issue
Block a user