Explorar o código

修复编译错误

lxylxy123321 hai 2 semanas
pai
achega
27f3ebb042
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  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" />