lxylxy123321 1 неделя назад
Родитель
Сommit
27f3ebb042
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 2
      frontend/src/api/client.ts
  2. 1 0
      frontend/src/vite-env.d.ts

+ 2 - 2
frontend/src/api/client.ts

@@ -196,9 +196,9 @@ interface TrainingJob {
 
 interface TrainingConfig {
   model_id: string
-  model_type: ModelType | string
+  model_type: string
   dataset_id: string
-  peft_method: PeftMethod | string
+  peft_method: string
   task_type?: string
   dataset_template?: string
   epochs?: number

+ 1 - 0
frontend/src/vite-env.d.ts

@@ -0,0 +1 @@
+/// <reference types="vite/client" />