Output of the Prompt Generator is Truncated, Incomplete. How to Set the Maximum Output Token for the Prompt Generator? #12981
Replies: 1 comment
-
To address the issue of the Prompt Generator's output being truncated or incomplete, you can configure the maximum output token limit using the environment variable Additionally, in the Dify codebase, the token limit for the Prompt Generator is set in the You might want to check these configurations to ensure they align with your requirements. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Self Checks
Dify version
main
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Use Prompt Generator in Chinese
✔️ Expected Behavior
Output of the Prompt Generator is complete.
❌ Actual Behavior
Output of the Prompt Generator is Truncated, Incomplete.
=============================================
How to Set the Maximum Output Token for the Prompt Generator?
Beta Was this translation helpful? Give feedback.
All reactions