feat: add parameter format and common parameters to backend configuration

This commit is contained in:
yxf
2026-05-26 14:30:19 +08:00
committed by yxf0314
parent 95e03d11c1
commit 91c3d0b814
15 changed files with 148 additions and 4 deletions
+6
View File
@@ -344,6 +344,8 @@ export interface BackendGroupItem {
isBuiltIn: boolean;
backend_source: string;
enabled: boolean;
common_parameters?: string[];
parameter_format?: 'space' | 'equal' | null;
versions: {
label: string;
value: string;
@@ -363,6 +365,8 @@ export interface BackendOption {
backend_source: string;
default_env?: Record<string, any>;
enabled: boolean;
common_parameters?: string[];
parameter_format?: 'space' | 'equal' | null;
versions: {
label: string;
value: string;
@@ -387,6 +391,8 @@ export interface BackendItem {
is_built_in: boolean;
backend_source: string;
enabled: boolean;
common_parameters?: string[];
parameter_format?: 'space' | 'equal' | null;
versions: {
version: string;
env?: Record<string, any>;