Open ghosert opened 3 days ago
Hmm. Thanks for the report. @jackgerrits any idea? This looks like a runtime thing.
Yes I have seen this error before and discussed it with @ekzhu , I believe it is Python version issue with 3.12, but not sure how to fix
Doesn't repro for me using Python 3.12.5 on MacOS. So likely an Ubuntu/Linux thing
The base worker agent has a dangling background task running when the program exits.
What happened?
I followed the doc to setup everything for Magentic One and run it with this sample:
╭─ gmk-ubuntu ~/autogen/python/packages/autogen-magentic-one
╰─ python examples/example.py --logs_dir ./my_logs
it works well but in the end of the session, it reports this error:
What did you expect to happen?
No error should be reported like above
How can we reproduce it (as minimally and precisely as possible)?
as mentioned in the above.
AutoGen version
Latest in the main branch
Which package was this bug in
Magentic One
Model used
gpt-4
Python version
3.12
Operating system
Ubuntu 24
Any additional info you think would be helpful for fixing this bug
No response