HenryHengZJ/flowise-streamlit

Not getting Streming Response

Closed this issue · 1 comments

I am not getting streaming response.
I am running flowise on docker,
REPOSITORY TAG IMAGE ID CREATED SIZE
flowiseai/flowise 2.0.7 1c9cc2709cb4 2 months ago 2.35GB
(base) C:\Users\pgaurav>pip install --upgrade flowise
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: flowise in c:\users\pgaurav\appdata\roaming\python\python311\site-packages (1.0.4)
Requirement already satisfied: requests>=2.25.1 in c:\programdata\anaconda3\lib\site-packages (from flowise) (2.31.0)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.25.1->flowise) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.25.1->flowise) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.25.1->flowise) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.25.1->flowise) (2023.7.22)

It's not coming inside chunk block:
print("Streaming response:")
for chunk in completion:
print('Printing chunk::::',chunk)

I am able to get no streaming response for the same flow id. Do i need do do any other configuration or update my docker image?

I could solve it, used image: flowiseai/flowise:2.1.1.