-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If input contains specific content when testing a single block, the test do not work #8839
Comments
The issue you're encountering with the block test not working when the input contains specific content like However, the behavior you're describing, where the test seems to run but returns the result of the last valid input, suggests there might be a caching mechanism or an issue with how the test results are updated. According to the documentation, Dify updates the test results when you enter common user questions in the Source Text input box and click Test. There is no mention of conditions under which Dify might reuse previous results [2]. To address this issue, you might want to check if there are any caching mechanisms in place that could be affecting the test results. Additionally, ensure that the input is correctly tokenized and classified according to the defined rules in the |
You can try this: |
This can solve your problem |
any plan for merge it to a version? |
I opened a PR, but I'm not sure when they will merge it. |
Maybe they will merge it only if we give them a push. |
Hi, @cowcomic. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. Issue Summary:
Next Steps:
Thank you for your understanding and contribution! |
Self Checks
Dify version
0.8.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
create a block test
input as "=1 group by"
the pattern of the string as "={num}{space}group{space}by{space}"
start run
it seems to be running, but not a really running. The result is still the result of the last valid input
✔️ Expected Behavior
The result is still the result of the last valid input
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: