ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Bug]: Error Occurs When Setting History Message Window Size to 2 or 3 in Agent using DeepSeek-R1 model

Open qust5979 opened this issue 11 months ago • 2 comments

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.

Image

Image

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

qust5979 avatar Feb 19 '25 09:02 qust5979

tag : v0.16.0

qust5979 avatar Feb 19 '25 09:02 qust5979

As I remembered, it's been fixed. Give it a try about pulling the nightly version of docker image and changing it to nightly.

KevinHuSh avatar Feb 20 '25 04:02 KevinHuSh