Browse Source

fix: agent tool label (#3039)

tags/0.5.11-fix1
Yeuoly 1 year ago
parent
commit
94d04934b3
No account linked to committer's email address

+ 1
- 1
web/app/components/app/configuration/config/agent/agent-tools/choose-tool/index.tsx View File

provider_type: collection.type, provider_type: collection.type,
provider_name: collection.name, provider_name: collection.name,
tool_name: tool.name, tool_name: tool.name,
tool_label: tool.label[locale],
tool_label: tool.label[locale] || tool.label[locale.replaceAll('-', '_')],
tool_parameters: parameters, tool_parameters: parameters,
enabled: true, enabled: true,
}) })

Loading…
Cancel
Save