fix: enable_model_route value in cloning

This commit is contained in:
jialin
2026-02-11 17:54:34 +08:00
parent 228cd4e664
commit c9245f957e
3 changed files with 2 additions and 2 deletions
+1
View File
@@ -15,6 +15,7 @@ export interface ListItem {
ready_replicas: number;
speech_to_text?: boolean;
text_to_speech?: boolean;
enable_model_route?: boolean;
replicas: number;
s3Address: string;
name: string;
@@ -312,6 +312,7 @@ export default function useFormInitialValues() {
const formData = {
...data,
categories: data?.categories?.length ? data.categories[0] : null,
enable_model_route: data.enable_model_route ?? false,
scheduleType: data?.gpu_selector
? ScheduleValueMap.Manual
: ScheduleValueMap.Auto