-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Agent app got incomplete answer in a long conversation #2932
Comments
It's great to see that you've identified the issue and provided a detailed description of the problem. Your understanding of the code and the potential impact on the application is impressive. If you have any ideas for solving the problem, feel free to propose a solution or even create a pull request. Your contribution would be valuable to the project. Keep up the good work!
|
Got that, I missed recalc the prompt messages, It will be solved soon. |
I encountered it too. Has it been fixed? |
When is this issue expected to be fixed? It still persists in Dify 0.6.6. |
@Yeuoly I had made a pull request to fix it, please review the code. |
Self Checks
Provide a description of the help you need
How to reproduce:
Debuging:
assistant_base_runner
to run. According to Refactor agent history organization and initialization of agent scrat… #2495, it will take all the history messages as prompt messages. Therefore, prompt messages will become larger and larger when keep talking in a same conversation.dify/api/core/app_runner/app_runner.py
Lines 114 to 115 in 16af509
Any ideas to solve this problem?
The text was updated successfully, but these errors were encountered: