chore: compatibility api
This commit is contained in:
@@ -439,3 +439,25 @@ export const modelLabels = [
|
||||
{ label: 'reranker', value: 'reranker' },
|
||||
{ label: 'Embedding', value: 'embedding_only' }
|
||||
];
|
||||
|
||||
export const CHECK_FIELDS = new Set([
|
||||
'backend',
|
||||
'local_path',
|
||||
'scheduleType',
|
||||
'placement_strategy',
|
||||
'worker_selector',
|
||||
'gpu_selector',
|
||||
'backend_parameters',
|
||||
'backend_version',
|
||||
'quantization',
|
||||
'size'
|
||||
]);
|
||||
|
||||
export const excludeFields = [
|
||||
'replicas',
|
||||
'categories',
|
||||
'name',
|
||||
'description',
|
||||
'env',
|
||||
'source'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user