Pārlūkot izejas kodu

fix: agent tool label (#3039)

tags/0.5.11-fix1
Yeuoly pirms 1 gada
vecāks
revīzija
94d04934b3
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam

+ 1
- 1
web/app/components/app/configuration/config/agent/agent-tools/choose-tool/index.tsx Parādīt failu

@@ -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,
})

Notiek ielāde…
Atcelt
Saglabāt