You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not wanting to be a square, but asyncio isn't even used upstream of your code. This error happens when a closed loop is already running, but the only time an asyncio loop is created on a transformers.agents is on the testing_utils that this file doesn't seem to invoke. Please check out this and implement the nest_asyncio lib on your workflow, since this seems to be a problem with your env, not with huggingface
lots o' love
Jean
P.If you can trace the point where the asyncio loop is created upstream of your code, let me know and I'll eat my words.
System Info
python_interpreter.py seems not support asyncio.run(),
when I use this code,

it takes that error,

Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
some error
Expected behavior
pass run code in python_interpreter.py, when define my tool function with asyncio.run()
The text was updated successfully, but these errors were encountered: