File "/Users/sunny/.local/share/virtualenvs/themis-l6RndCmc/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 84, in agenerate_from_stream async for chunk in stream: File "/Users/sunny/.local/share/virtualenvs/themis-l6RndCmc/lib/python3.10/site-packages/lang...
In the openai module version you're using, it appears that there's no attribute named OpenAI. However, in the langchain_openai code, it's trying to access this attribute, hence the AttributeError. One possible solution could be to check the version of the openai module that langchain_opena...