[Bug]: Error Occurs When Setting History Message Window Size to 2 or 3 in Agent using DeepSeek-R1 model
Is there an existing issue for the same bug?
- [x] I have checked the existing issues.
RAGFlow workspace code commit ID
448fa1c
RAGFlow image version
448fa1c
Other environment information
Ubuntu 22.04
Actual behavior
I have structured a simple agent that takes an input question, queries the knowledge base, and generates a response using a large model. The large model used is the Tianyi Cloud version of DeepSeek-R1 Full Power Edition.
When I set the history message window size to 1, the model responds correctly. However, when I set it to 2 or 3, the system throws an error.
Agent configuration: test-helper.json
Expected behavior
When I set the history message window size to 2, the model responds correctly.
Steps to reproduce
run agent
Additional information
No response
tag : v0.16.0
As I remembered, it's been fixed.
Give it a try about pulling the nightly version of docker image and changing it to nightly.