Phase C4: 模型连接测试增强 - 多模态测试+批量测试+暗色主题修复

This commit is contained in:
qyyfw committed 2026-07-05 21:44:18 +08:00
1 parent 5828728f00
commit 6ccf6d6867
3 files changed
+392 -71

No files matched your search

+1
View File
@@ -309,6 +309,7 @@ export const adminAPI = {
setDefaultModel: (id: string) => put<any>(`/admin/models/${id}/set-default`),
// Phase 2: Enhanced model management
testModelConnection: (id: string) => post<any>(`/admin/models/${id}/test-connection`),
testAllModels: () => post<any>('/admin/models/test-all'),
fetchProviderModels: (id: string) => post<any>(`/admin/models/providers/${id}/fetch-models`),
createAdminModel: (data: any) => post<any>('/admin/models/', data),
updateAdminModel: (id: string, data: any) => put<any>(`/admin/models/${id}`, data),