Getting the error - ThreadMessage ImportError: cannot import name 'ThreadMessage' from 'openai.types.beta.threads' on python 3.10 version after installing llama-parse and llama-index libraries #900
[X] I used the GitHub search to try to find a similar issue and didn't find one.
[X] I searched the Marvin documentation for this issue.
Bug summary
Hi,
I tried to install llama-index and llama-parse libraries on python 3.10 version but now marvin functionailities are not being imported.
Getting this error
error - from openai.types.beta.threads import ThreadMessage ImportError: cannot import name 'ThreadMessage' from 'openai.types.beta.threads'
llama-index and llama-parse requires openai=1.16 version but but marvin imports are failing if we change from openai=1.11 version to 1.16
Reproduction
from openai.types.beta.threads import ThreadMessage
Error
ImportError: cannot import name 'ThreadMessage' from 'openai.types.beta.threads'
First check
Bug summary
Hi, I tried to install llama-index and llama-parse libraries on python 3.10 version but now marvin functionailities are not being imported.
Getting this error error - from openai.types.beta.threads import ThreadMessage ImportError: cannot import name 'ThreadMessage' from 'openai.types.beta.threads'
llama-index and llama-parse requires openai=1.16 version but but marvin imports are failing if we change from openai=1.11 version to 1.16
Reproduction
Error
Versions
Additional context
No response