openui
openui copied to clipboard
Getting `ImportError: cannot import name 'AsyncStream'
Getting
ImportError: cannot import name 'AsyncStream' from partially initialized module 'openai' (most likely due to a circular import) (E:\JupyterNotebooks\openui\backend\openui\openai.py)
Tried python -m pip install openai --upgrade but it didn't help. Using Python 3.11.8
Ahh, be sure to run the code from the backend directory. You'll get this error if you run in a directory that has a one office or die named openai