Find answers from the community

Updated last year

Hey friends. Has anyone gotten streaming

Hey friends. Has anyone gotten streaming to work with the OpenAIAgent?
L
c
3 comments
Plain Text
response = agent.stream_chat("Hello!")

for token in response.response_gen:
    print(token, end="", flush=True)
That doesn't work?
If that works I’m a moron haha. Let me try.
Add a reply
Sign up and join the conversation on Discord