mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: agent tool label (#3039)
This commit is contained in:
parent
1387f9b23e
commit
94d04934b3
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user