mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-07-11 00:11:48 +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…
x
Reference in New Issue
Block a user