fix: the fields for trigger checking
This commit is contained in:
@@ -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'
|
||||
];
|
||||
|
||||
@@ -218,4 +218,8 @@ export interface EvaluateResult {
|
||||
compatibility_messages: string[];
|
||||
scheduling_messages: string[];
|
||||
default_spec: Record<string, any>;
|
||||
resource_claim?: {
|
||||
ram: number;
|
||||
vram: number;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user