-
-
Notifications
You must be signed in to change notification settings - Fork 788
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
Small messages are getting concatenated #2067
Comments
Assuming it's working with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following sends all the small message chunks in one go. I want them sent seperatly.
consumers.py
import openai
import asyncio
from channels.generic.websocket import AsyncWebsocketConsumer
class AIConsumer(AsyncWebsocketConsumer):
async def connect(self):
print('Connected')
await self.accept()
The text was updated successfully, but these errors were encountered: