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
xx@DESKTOP-651G35L MINGW64 /c/Windows/system32/AutoAgent
$ auto agent editor
C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Traceback (most recent call last):
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\llms\openai\openai.py", line 602, in completion
raise e
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\llms\openai\openai.py", line 515, in completion
openai_client: OpenAI = self._get_openai_client( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\llms\openai\openai.py", line 326, in _get_openai_client
_new_client = OpenAI(
^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\openai_client.py", line 110, 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
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\main.py", line 1595, in completion
raise e
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\main.py", line 1568, in completion
response = openai_chat_completions.completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\llms\openai\openai.py", line 612, in completion
raise OpenAIError(
litellm.llms.openai.common_utils.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
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Scripts\auto.exe_main.py", line 7, in
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1161, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1082, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 788, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Windows\System32\AutoAgent\autoagent\cli.py", line 82, in agent
response = mc.run(agent, messages, context_storage, debug=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Windows\System32\AutoAgent\autoagent\core.py", line 428, in run
completion = self.get_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Windows\System32\AutoAgent\autoagent\core.py", line 173, in get_chat_completion
completion_response = completion(**create_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\utils.py", line 980, in wrapper
raise e
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\utils.py", line 861, in wrapper
result = original_function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\main.py", line 2951, in completion
raise exception_type(
^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\litellm_core_utils\exception_mapping_utils.py", line 2141, in exception_type
raise e
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\litellm_core_utils\exception_mapping_utils.py", line 314, in exception_type
raise AuthenticationError(
litellm.exceptions.AuthenticationError: litellm.AuthenticationError: AuthenticationError: OpenAIException - 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
The text was updated successfully, but these errors were encountered:
xx@DESKTOP-651G35L MINGW64 /c/Windows/system32/AutoAgent
$ auto agent editor
C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new
LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.
Traceback (most recent call last):
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\llms\openai\openai.py", line 602, in completion
raise e
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\llms\openai\openai.py", line 515, in completion
openai_client: OpenAI = self._get_openai_client( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\llms\openai\openai.py", line 326, in _get_openai_client
_new_client = OpenAI(
^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\openai_client.py", line 110, 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
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\main.py", line 1595, in completion
raise e
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\main.py", line 1568, in completion
response = openai_chat_completions.completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\llms\openai\openai.py", line 612, in completion
raise OpenAIError(
litellm.llms.openai.common_utils.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
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Scripts\auto.exe_main.py", line 7, in
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1161, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1082, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 788, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Windows\System32\AutoAgent\autoagent\cli.py", line 82, in agent
response = mc.run(agent, messages, context_storage, debug=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Windows\System32\AutoAgent\autoagent\core.py", line 428, in run
completion = self.get_chat_completion(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Windows\System32\AutoAgent\autoagent\core.py", line 173, in get_chat_completion
completion_response = completion(**create_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\utils.py", line 980, in wrapper
raise e
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\utils.py", line 861, in wrapper
result = original_function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\main.py", line 2951, in completion
raise exception_type(
^^^^^^^^^^^^^^^
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\litellm_core_utils\exception_mapping_utils.py", line 2141, in exception_type
raise e
File "C:\Users\xx\AppData\Local\Programs\Python\Python312\Lib\site-packages\litellm\litellm_core_utils\exception_mapping_utils.py", line 314, in exception_type
raise AuthenticationError(
litellm.exceptions.AuthenticationError: litellm.AuthenticationError: AuthenticationError: OpenAIException - 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
The text was updated successfully, but these errors were encountered: