ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: When stream is False, the agent call fails

Open slczd opened this issue 1 year ago • 5 comments

Describe your problem

This code provides non-streaming option, but when I use non-streaming I get an exception 微信图片_20240820100024 this is my agent 微信图片_20240820100132

slczd avatar Aug 20 '24 02:08 slczd

There is no such bug at https://demo.ragflow.io. And if you deploy RAGFlow to your machine, you can try updating dev version to fix this issue. https://github.com/infiniflow/ragflow/blob/main/docs/references/faq.md#9-how-to-upgrade-ragflow

guoyuhao2330 avatar Aug 21 '24 02:08 guoyuhao2330

Because in the code that displays the interface, the value of stream is set to True by default, but when I change this default value to False, a problem occurs.

slczd avatar Aug 21 '24 02:08 slczd

image

image If you are using the demohttps://demo.ragflow.io/, please provide a screenshot of the bug reported. If you are deploying RAGFlow on your own machine, please try an updated dev version and provide screenshots of the errors and more details on how to reproduce them.

guoyuhao2330 avatar Aug 21 '24 02:08 guoyuhao2330

image Isn't the interface called by this red button the following one? image Which parameter is conversation_id

slczd avatar Aug 21 '24 04:08 slczd

This parameter is not needed now because there is no history of conversations for agent. please provide a screenshot of the bug reported and more details on how to reproduce them.

guoyuhao2330 avatar Aug 21 '24 04:08 guoyuhao2330