chore: display warning message after form change in edit model

This commit is contained in:
jialin
2025-04-10 12:21:55 +08:00
parent 1182fdeb43
commit 7c79accda7
23 changed files with 126 additions and 71 deletions
+37
View File
@@ -479,3 +479,40 @@ export const excludeFields = [
'backend',
'gpu_selector'
];
export const updateExcludeFields = [
'repo_id',
'file_name',
'description',
'source',
'worker_selector',
'backend_parameters',
'local_path',
'backend_version',
'ollama_library_model_name',
'scheduleType',
'backend',
'gpu_selector'
];
export const formFields = [
'name',
'repo_id',
'file_name',
'local_path',
'ollama_library_model_name',
'backend',
'replicas',
'source',
'description',
'worker_selector',
'cpu_offloading',
'distributed_inference_across_workers',
'gpu_selector',
'gpu_ids',
'categories',
'backend_version',
'env',
'scheduleType',
'restart_on_error'
];