feat: 添加 queryConfig 字段及相关配置功能

- 在 CreateModelParams 接口中新增 queryConfig 字段,支持更灵活的查询配置。
- 更新 ModelSelector 组件,优化模型选择界面,增强用户体验。
- 在 editModule.vue 中添加响应类型选择及主动拉取配置功能,提升配置灵活性与可用性。
This commit is contained in:
2026-05-23 17:56:52 +08:00
parent 7c60e34de0
commit 27de8213f2
3 changed files with 470 additions and 70 deletions

View File

@@ -127,6 +127,7 @@ export interface CreateModelParams {
extendMapping?: Record<string, unknown>;
responseTokenField?: string;
tokenConfig?: Record<string, unknown>;
queryConfig?: Record<string, unknown>;
maxConcurrency?: number;
queueLimit?: number;
timeoutSeconds: number;