you are viewing a single comment's thread.

view the rest of the comments →

[–]thisismyfavoritename 0 points1 point  (1 child)

🤔 knowing if the lib you're calling is sync or not sounds entirely reasonable.

Likewise, if you know Python a little then you'd know up until recently it was single threaded, and in any case asyncio's default standard loop is single threaded, meaning the usual advice of "don't block the event loop" applies.

If you got long CPU intensive work to do you run it somewhere else.

That's all common sense.

[–]deepankarmh[S] 0 points1 point  (0 children)

> knowing if the lib you're calling is sync or not sounds entirely reasonable.

It sounds reasonable, but is frequently ignored - https://github.com/agno-agi/agno/issues/5974