style: gguf model ux

This commit is contained in:
jialin
2025-10-17 10:15:55 +08:00
parent 37a3aa75cc
commit 005295ac97
19 changed files with 203 additions and 89 deletions
+12 -6
View File
@@ -306,8 +306,10 @@ export const modelLabels = [
// do not trigger form check compatibility
export const excludeFields = [
'repo_id',
'file_name',
'model_scope_model_id',
'huggingface_repo_id',
'huggingface_filename',
'model_scope_file_path',
'replicas',
'name',
'description',
@@ -334,8 +336,10 @@ export const updateIgnoreFields = ['categories', 'replicas', 'description'];
// if some fields need to trigger manual check, add them here
export const updateExcludeFields = [
'repo_id',
'file_name',
'model_scope_model_id',
'huggingface_repo_id',
'huggingface_filename',
'model_scope_file_path',
'description',
'source',
'worker_selector',
@@ -352,8 +356,10 @@ export const updateExcludeFields = [
export const formFields = [
'name',
'repo_id',
'file_name',
'model_scope_model_id',
'huggingface_repo_id',
'huggingface_filename',
'model_scope_file_path',
'local_path',
'ollama_library_model_name',
'backend',
-2
View File
@@ -51,8 +51,6 @@ export interface FormData {
backend_parameters?: string[];
backend_version?: string;
source: SourceType;
repo_id: string;
file_name: string;
huggingface_repo_id: string;
huggingface_filename: string;
s3_address: string;