mirror of
https://github.com/langgenius/dify.git
synced 2026-01-04 05:27:22 +00:00
fix: agent tool label (#3039)
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user