fix: the fields for trigger checking

This commit is contained in:
jialin
2025-04-03 18:08:43 +08:00
parent 939f46c7e6
commit b6136a092d
22 changed files with 226 additions and 73 deletions
+5 -1
View File
@@ -448,6 +448,7 @@ export const modelLabels = [
{ label: 'Embedding', value: 'embedding_only' }
];
// do not trigger form check compatibility
export const excludeFields = [
'repo_id',
'file_name',
@@ -464,5 +465,8 @@ export const excludeFields = [
'backend_parameters',
'local_path',
'backend_version',
'ollama_library_model_name'
'ollama_library_model_name',
'scheduleType',
'placement_strategy',
'backend'
];
+4
View File
@@ -218,4 +218,8 @@ export interface EvaluateResult {
compatibility_messages: string[];
scheduling_messages: string[];
default_spec: Record<string, any>;
resource_claim?: {
ram: number;
vram: number;
};
}