-
Notifications
You must be signed in to change notification settings - Fork 22
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
Getting error ValueError: OPENAI_API_KEY is not set or passed as an argument #1
Comments
Yes, it seems Here a workaround to silence this issue: import openlm
# FIXME: Cannot instantiate the api_key using a parameter (and do not want to reuse OPENAI_API_KEY)
openlm.api_key = os.environ.get("OPEN_LLM_API_KEY")
llm = OpenLM(base_url=... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tried with version .5 and .4 on pypi
if I use openai instead it runs perfectly fine
The text was updated successfully, but these errors were encountered: