feat: 增强模型配置与创建表单功能
- 在 NodeLibraryFormItem 和 WorkflowItem 接口中添加了新的字段,如 value、options、expand 和 outputParams,以支持更复杂的表单配置。 - 新增 getOperatorList 函数以获取服务商列表,并在 editModule.vue 中集成了运营商选择功能。 - 更新了模型创建和编辑逻辑,支持 tokenConfig 的 JSON 格式配置,确保更灵活的模型设置。 - 优化了文件上传处理,增加了上传状态管理,提升用户体验。
This commit is contained in:
@@ -235,3 +235,13 @@ export function getIsChatModel() {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取服务商列表
|
||||
*/
|
||||
export function getOperatorList() {
|
||||
return request({
|
||||
url: '/model-gateway/model/listOperator',
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user