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

ModuleNotFoundError: No module named 'openai.types.beta.threads.message_content_image_file' #115

Open
Linda2023AI opened this issue Jul 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Linda2023AI
Copy link

Operating System

Windows

Version Information

I ran the code assistant-math_tutor at codespaces. I got the error that ModuleNotFoundError: No module named 'openai.types.beta.threads.message_content_image_file'

Python Version: 3.10

Steps to reproduce

from openai.types.beta.threads.message_content_image_file import MessageContentImageFile
from openai.types.beta.threads.message_content_text import MessageContentText

Expected behavior

no error

Actual behavior

can not load the
from openai.types.beta.threads.message_content_image_file import MessageContentImageFile
from openai.types.beta.threads.message_content_text import MessageContentText

Addition information

No response

@Linda2023AI Linda2023AI added the bug Something isn't working label Jul 10, 2024
@PurnaChandraPanda
Copy link

@Linda2023AI

With latest openai sdk, that class seems to be deprecated. You could refer the working solution from #124 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants