Created
February 24, 2024 05:21
-
-
Save neelabalan/50e00667633175024fe3780a58506c4d to your computer and use it in GitHub Desktop.
stream tokens
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for token in my_agent.stream({"input": query, "chat_history": chat_history}): | |
print(token, end="", flush=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment