resp = agent.stream_chat("My name is Jordan") for part in resp.chat_stream: print(part)
resp = agent.stream_chat("My name is Jordan") for part in resp.response_gen: print(part, end="", flush=True)