-
Notifications
You must be signed in to change notification settings - Fork 400
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
Event loop is closed #3
Comments
Hi @JarvisYan0802 ! Can you provide more details on this? I am not able to reproduce the error. Did you change anything to the |
Happening for me, too. I was walking through the topical_rails example. It seems to happen randomly. I modified the script slightly by putting the rails.generate() function in a try/except and a while loop. Even though the exception occurred, it still generates output. |
Thanks for reporting this @armstrongsam25! We need to investigate further as I can't reproduce yet. We'll keep you posted. What OS/python version are you using? |
OS: Win11 Enterprise, Version 21H2, Build 22000.1880 |
added changes to show multi-guardrail output
I've run the demo py file. It can return the message I want correctly, but always raises a RuntimeError: "Event loop is closed". How dose it happen and what can I do?
The text was updated successfully, but these errors were encountered: