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' #169

Open
zoltiq opened this issue Dec 30, 2024 · 0 comments

Comments

@zoltiq
Copy link

zoltiq commented Dec 30, 2024

I installed exactly according to the instructions (without the docker)
after activation with the command:
python run.py --verbose True --config examples/example_agent_setup.json

a stack of error messages appears:

Traceback (most recent call last):
File "C:\Users\Sebol\Desktop\chat-php\langchain\full_salesGPT\SalesGPT\run.py", line 10, in
from salesgpt.agents import SalesGPT
File "C:\Users\Sebol\Desktop\chat-php\langchain\full_salesGPT\SalesGPT\salesgpt\agents.py", line 17, in
from litellm import acompletion
File "C:\Users\Sebol\Desktop\chat-php\langchain\full_salesGPT\env\Lib\site-packages\litellm_init_.py", line 764, in
from .llms.openai import OpenAIConfig, OpenAITextCompletionConfig, MistralConfig
File "C:\Users\Sebol\Desktop\chat-php\langchain\full_salesGPT\env\Lib\site-packages\litellm\llms\openai.py", line 28, in
from ..types.llms.openai import *
File "C:\Users\Sebol\Desktop\chat-php\langchain\full_salesGPT\env\Lib\site-packages\litellm\types\llms\openai.py", line 12, in
from openai.types.beta.threads.message_content import MessageContent
ModuleNotFoundError: No module named 'openai.types.beta.threads.message_content'

Please help how to deal with this.

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

1 participant