模型配置字段相关修改

This commit is contained in:
2026-05-23 15:04:59 +08:00
parent 38166cb0b8
commit 7c60e34de0
3 changed files with 140 additions and 34 deletions

View File

@@ -112,6 +112,7 @@ export interface CreateModelParams {
modelName: string;
/** 与 listType 返回的类型 id 一致,可能为数字或字符串 */
modelType: number | string;
operatorName?: string;
baseUrl: string;
httpMethod?: string;
headMsg?: string;
@@ -122,6 +123,10 @@ export interface CreateModelParams {
form: ModelFormEntry[];
requestMapping?: Record<string, unknown>;
responseMapping?: Record<string, unknown>;
responseBody?: Record<string, unknown>;
extendMapping?: Record<string, unknown>;
responseTokenField?: string;
tokenConfig?: Record<string, unknown>;
maxConcurrency?: number;
queueLimit?: number;
timeoutSeconds: number;