zhangxiao
2024-09-02 e4a63fe8868f7c3f1bcce36919d38e397e342072
过滤新增编辑智能体模型设置选择列表只展示模型类型等于对话的
1个文件已修改
2 ■■■ 已修改文件
src/views/dmx/IntelligentAgent/components/agentConfig.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/IntelligentAgent/components/agentConfig.vue
@@ -647,7 +647,7 @@
      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);
            arrObj[key] = element.filter((item) => item.available === true && item.type === 'chat');
        }
      }
      modelList.value = arrObj;