瀏覽代碼

修复编译错误

lxylxy123321 2 周之前
父節點
當前提交
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" />