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 a typo in prompt (#25583)

casio12raa3129c2a972
diff --git a/api/core/workflow/nodes/parameter_extractor/prompts.py b/api/core/workflow/nodes/parameter_extractor/prompts.py
index ab7ddcc32ad..b74be8f2068 100644
--- a/api/core/workflow/nodes/parameter_extractor/prompts.py
+++ b/api/core/workflow/nodes/parameter_extractor/prompts.py
@@ -179,6 +179,6 @@ CHAT_EXAMPLE = [
"required": ["food"],
},
},
- "assistant": {"text": "I need to output a valid JSON object.", "json": {"result": "apple pie"}},
+ "assistant": {"text": "I need to output a valid JSON object.", "json": {"food": "apple pie"}},
},
]