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

Unable to use local models for agents - OpenAIError: The api_key client option must be set #38

Open
Armanasq opened this issue Jul 31, 2024 · 0 comments

Comments

@Armanasq
Copy link

I am currently facing an issue where I cannot use local models for my agents. Whenever I try to run my application, I receive the following error:

OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

This issue prevents me from utilizing local models without an OpenAI API key.

Any guidance on how to configure LLMs to work with local models without needing an OpenAI API key would be greatly appreciated.

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