mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 19:36:53 +08:00
fix: i18n error (#12052)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
@@ -275,10 +275,7 @@ class ToolTransformService:
|
||||
author=tool.identity.author,
|
||||
name=tool.identity.name,
|
||||
label=tool.identity.label,
|
||||
description=I18nObject(
|
||||
en_US=tool.description.human if tool.description else "",
|
||||
zh_Hans=tool.description.human if tool.description else "",
|
||||
),
|
||||
description=tool.description.human if tool.description else "", # type: ignore
|
||||
parameters=current_parameters,
|
||||
labels=labels,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user