Skip to content
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

streaming in WebSocket mode #212

Open
ronald888 opened this issue Jun 6, 2024 · 0 comments
Open

streaming in WebSocket mode #212

ronald888 opened this issue Jun 6, 2024 · 0 comments

Comments

@ronald888
Copy link

I'd like to use deep-chat with a websocket connection.
However, I'd like the response from the server to be handled similar to streaming data - chunks will be shown on the same bubble.
Currently, as chunks arrive, they are on separate bubbles.

I had configured with this:
request='{"url": "ws://customapi.com", "websocket": true}'

I added stream=true (and even assigned simulation = true and 6 as well)

Is this possible? Or I should use the Handler?
Apologies if this question has been raised already. Unfortunately I couldn't find anything.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant