zhangxiao
2024-09-04 0a069be250ef36d04642d1c055acd38eab11fb43
更改过滤新增编辑智能体模型设置选择列表只展示模型类型等于对话的
1个文件已修改
3 ■■■■ 已修改文件
src/views/dmx/IntelligentAgent/components/agentConfig.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/IntelligentAgent/components/agentConfig.vue
@@ -647,7 +647,8 @@
      for (const key in data.data) {
        if (Object.hasOwnProperty.call(data.data, key)) {
          const element = data.data[key];
            arrObj[key] = element.filter((item) => item.available === true && item.type === 'chat');
          arrObj[key] = element.filter((item) => item.available === true && item.model_type === 'chat');
        }
      }
      modelList.value = arrObj;