Skip to content
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

Incompatability of nest_asyncio and uvloop #183

Open
marencordtshsg opened this issue May 15, 2024 · 1 comment
Open

Incompatability of nest_asyncio and uvloop #183

marencordtshsg opened this issue May 15, 2024 · 1 comment

Comments

@marencordtshsg
Copy link

The patch of asyncio does not work anymore with the most recent update of Llamaparse. In line nest_asyncio.apply(), we get ValueError: Can't patch loop of type <class 'uvloop.Loop'>

@logan-markewich
Copy link
Contributor

@marencordtshsg you need to set the loop type to asyncio

uvicorn.run(... loop="asyncio")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants