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
I just added the chatgpt skill to the ovos-core skills.list and run the container.
This is what you get in the logs when you try to load it for the first time and obviously the settings.json is not there with the API key
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.092 - skill-ovos-fallback-chatgpt.openvoiceos - ERROR - Skill initialization failed
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: Traceback (most recent call last):
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_workshop/skills/ovos.py", line 728, in _startup
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: self.initialize()
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/skill_ovos_fallback_chatgpt/__init__.py", line 26, in initialize
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: self.chat = OpenAIPersonaSolver(config=self.settings)
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_solver_openai_persona/__init__.py", line 9, in __init__
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: super().__init__(config=config)
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_solver_openai_persona/engines.py", line 70, in __init__
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: raise ValueError("key must be set")
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: ValueError: key must be set
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.096 - skill-ovos-fallback-chatgpt.openvoiceos - ERROR - Failed to shutdown gui for skill-ovos-fallback-chatgpt.openvoiceos: <bound method GUIInterface.gui_set of <o>
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.114 - skills - ovos_workshop.skill_launcher:_create_skill_instance:473 - WARNING - Legacy skill: key must be set
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.117 - skills - ovos_workshop.skill_launcher:_create_skill_instance:482 - WARNING - Deprecation version=0.1.0. Caller=ovos_core.skill_manager:360. This initializatio>
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.232 - skills - ovos_plugin_manager.language:create:233 - INFO - Loaded the Language Translation plugin ovos-translate-plugin-server
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.240 - skills - ovos_solver_openai_persona.engines:__init__:69 - ERROR - key not set in config
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.240 - skill-ovos-fallback-chatgpt.openvoiceos - ERROR - Skill initialization failed
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: Traceback (most recent call last):
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_workshop/skills/ovos.py", line 728, in _startup
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: self.initialize()
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/skill_ovos_fallback_chatgpt/__init__.py", line 26, in initialize
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: self.chat = OpenAIPersonaSolver(config=self.settings)
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_solver_openai_persona/__init__.py", line 9, in __init__
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: super().__init__(config=config)
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_solver_openai_persona/engines.py", line 70, in __init__
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: raise ValueError("key must be set")
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: ValueError: key must be set
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.243 - skill-ovos-fallback-chatgpt.openvoiceos - ERROR - Failed to shutdown gui for skill-ovos-fallback-chatgpt.openvoiceos: <bound method GUIInterface.gui_set of <o>
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.261 - skills - ovos_workshop.skill_launcher:_create_skill_instance:487 - ERROR - Skill __init__ failed with key must be set
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: Traceback (most recent call last):
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_workshop/skill_launcher.py", line 485, in _create_skill_instance
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: self.instance._startup(self.bus, self.skill_id)
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_workshop/skills/ovos.py", line 738, in _startup
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: raise e
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_workshop/skills/ovos.py", line 728, in _startup
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: self.initialize()
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/skill_ovos_fallback_chatgpt/__init__.py", line 26, in initialize
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: self.chat = OpenAIPersonaSolver(config=self.settings)
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_solver_openai_persona/__init__.py", line 9, in __init__
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: super().__init__(config=config)
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_solver_openai_persona/engines.py", line 70, in __init__
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: raise ValueError("key must be set")
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: ValueError: key must be set
Jan 13 12:14:39 OpenVoiceOS-840dca ovos-core[8937]: 2024-01-13 12:14:39.270 - skills - ovos_workshop.skill_launcher:_communicate_load_status:510 - ERROR - Skill skill-ovos-fallback-chatgpt.openvoiceos failed to load
I get that the skills fails to load because of the missing API, however because it errors out, it also soes not create the skills settings folder and does not write the settings.json
Can these type of things not be improved that on first run (which is a flag) it just creates the folder and json file with an empty API key and just more silent fails to load with a line; chatgpt skipped, please set your API key in the settings.json?
(I had to create the folder and settings.json manually)
The text was updated successfully, but these errors were encountered:
I just added the chatgpt skill to the ovos-core skills.list and run the container.
This is what you get in the logs when you try to load it for the first time and obviously the settings.json is not there with the API key
I get that the skills fails to load because of the missing API, however because it errors out, it also soes not create the skills settings folder and does not write the settings.json
Can these type of things not be improved that on first run (which is a flag) it just creates the folder and json file with an empty API key and just more silent fails to load with a line; chatgpt skipped, please set your API key in the settings.json?
(I had to create the folder and settings.json manually)
The text was updated successfully, but these errors were encountered: