feat: generic_proxy

This commit is contained in:
jialin
2025-11-11 15:47:32 +08:00
parent b4b25d4300
commit ee5c30934b
13 changed files with 138 additions and 12 deletions
+6 -1
View File
@@ -50,6 +50,11 @@ export const ActionList: ActionItem[] = [
key: 'chat',
icon: icons.ExperimentOutlined
},
// {
// label: 'models.form.generic_proxy.button',
// key: 'proxy',
// icon: icons.CaptivePortal
// },
{
label: 'models.table.button.apiAccessInfo',
key: 'api',
@@ -68,7 +73,7 @@ export const ActionList: ActionItem[] = [
{
label: 'models.button.accessSettings',
key: 'accessControl',
icon: icons.Private
icon: icons.Permission
},
{
label: 'common.button.delete',
+1
View File
@@ -60,6 +60,7 @@ export interface FormData {
local_path?: string;
model_scope_model_id?: string;
model_scope_file_path?: string;
generic_proxy?: boolean;
gpu_selector?: {
gpu_ids?: string[];
gpu_type?: string;