浏览代码

fix: agent tool label (#3039)

tags/0.5.11-fix1
Yeuoly 1年前
父节点
当前提交
94d04934b3
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      web/app/components/app/configuration/config/agent/agent-tools/choose-tool/index.tsx

+ 1
- 1
web/app/components/app/configuration/config/agent/agent-tools/choose-tool/index.tsx 查看文件

@@ -59,7 +59,7 @@ const ChooseTool: FC<Props> = ({
provider_type: collection.type,
provider_name: collection.name,
tool_name: tool.name,
tool_label: tool.label[locale],
tool_label: tool.label[locale] || tool.label[locale.replaceAll('-', '_')],
tool_parameters: parameters,
enabled: true,
})

正在加载...
取消
保存