You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(openui) ➜ backend git:(main) python -m openui
Traceback (most recent call last):
File "/config/miniconda3/envs/openui/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/config/miniconda3/envs/openui/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/config/workspace/openui/backend/openui/__main__.py", line 3, in <module>
from . import server
File "/config/workspace/openui/backend/openui/server.py", line 68, in <module>
openai = AsyncOpenAI() # AsyncOpenAI(base_url="http://127.0.0.1:11434/v1")
File "/config/miniconda3/envs/openui/lib/python3.10/site-packages/openai/_client.py", line 316, in __init__
raise OpenAIError(
openai.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
verified the api_key > echo $OPENAI_API_KEY > sk-proj-tnz***XXXX,
unable to get it working, is something broken..?
verified the api_key > echo $OPENAI_API_KEY > sk-proj-tnz***XXXX,
Any help ..?
following following Mathew Burman https://youtu.be/zzw2OSFw9xI?si=B0UGFEbkGX3M4gsV
The text was updated successfully, but these errors were encountered: