diff --git a/frontend/index.html b/frontend/index.html index 2b6ea12..9b525da 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,9 +4,6 @@ - - - 远光软件微调平台 diff --git a/frontend/src/api/modules/model.ts b/frontend/src/api/modules/model.ts index fef7227..835212a 100644 --- a/frontend/src/api/modules/model.ts +++ b/frontend/src/api/modules/model.ts @@ -107,7 +107,13 @@ export const testOnlineModel = (data: { api_key: string online_model_name: string }) => - post<{ success: boolean; error?: string; model?: string; usage?: object }>( + post<{ + success: boolean + error?: string + model?: string + usage?: object + latency_ms?: number + }>( '/model-manage/test-online', data, ) diff --git a/frontend/src/components/AppSidebar.vue b/frontend/src/components/AppSidebar.vue index 416476d..f925037 100644 --- a/frontend/src/components/AppSidebar.vue +++ b/frontend/src/components/AppSidebar.vue @@ -180,7 +180,7 @@ async function handleLogout() {