You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
Dify version
1.0-beta
Cloud or Self Hosted
Cloud
Steps to reproduce
When using the Agent Node, although the interface shows a default value of Maximum Iterations 3, a warning still appears in the upper right corner stating that Maximum Iterations cannot be empty.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered:
The issue you're experiencing, where the Agent Node displays a default Maximum Iterations value of 3 but triggers a "Cannot Be Empty" warning, might be related to a mismatch between the displayed default value and the actual validation logic.
The default value for Maximum Iterations is set to 5 in the configuration files [1][2]. If the interface is showing 3, it could be due to a UI bug or a misconfiguration in the component responsible for rendering the default values. The validation logic ensures that the value is between 1 and 50, with a default of 5 [2].
To resolve this, you might want to check the component handling the display and validation of the Maximum Iterations field to ensure it aligns with the configuration. Additionally, verify if there are any recent changes or overrides in the code that might affect this behavior.
Self Checks
Dify version
1.0-beta
Cloud or Self Hosted
Cloud
Steps to reproduce
When using the Agent Node, although the interface shows a default value of Maximum Iterations 3, a warning still appears in the upper right corner stating that Maximum Iterations cannot be empty.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: