Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: missing en_name of aippt (#2737)

Yeuoly24809fce07ec
diff --git a/api/core/tools/provider/builtin/aippt/tools/aippt.py b/api/core/tools/provider/builtin/aippt/tools/aippt.py
index 87f89faf8fa..e61cf6b1e2d 100644
--- a/api/core/tools/provider/builtin/aippt/tools/aippt.py
+++ b/api/core/tools/provider/builtin/aippt/tools/aippt.py
@@ -470,9 +470,9 @@ class AIPPTGenerateTool(BuiltinTool):
colors, styles = self.get_styles(user_id='__dify_system__')
except Exception as e:
colors, styles = [
- {'id': -1, 'name': '__default__'}
+ {'id': -1, 'name': '__default__', 'en_name': '__default__'}
], [
- {'id': -1, 'name': '__default__'}
+ {'id': -1, 'name': '__default__', 'en_name': '__default__'}
]
return [