Open strutings opened 10 months ago
2024-01-18T10:01:44.496639+01:00 odin hass[2353938]: File "/home/homeassistant/.homeassistant/custom_components/openai_response/sensor.py", line 66, in async_generate_openai_response 2024-01-18T10:01:44.496733+01:00 odin hass[2353938]: response = await self._hass.async_add_executor_job( 2024-01-18T10:01:44.496807+01:00 odin hass[2353938]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-18T10:01:44.496881+01:00 odin hass[2353938]: File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run 2024-01-18T10:01:44.496983+01:00 odin hass[2353938]: result = self.fn(*self.args, **self.kwargs) 2024-01-18T10:01:44.497057+01:00 odin hass[2353938]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-18T10:01:44.497140+01:00 odin hass[2353938]: File "/home/homeassistant/.homeassistant/custom_components/openai_response/sensor.py", line 32, in generate_openai_response_sync 2024-01-18T10:01:44.497235+01:00 odin hass[2353938]: return openai.Completion.create( 2024-01-18T10:01:44.497309+01:00 odin hass[2353938]: ^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-18T10:01:44.497405+01:00 odin hass[2353938]: File "/srv/homeassistant/venv.3.11.4/lib/python3.11/site-packages/openai/api_resources/completion.py", line 25, in create 2024-01-18T10:01:44.497485+01:00 odin hass[2353938]: File "/srv/homeassistant/venv.3.11.4/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 178, in create 2024-01-18T10:01:44.497565+01:00 odin hass[2353938]: File "/srv/homeassistant/venv.3.11.4/lib/python3.11/site-packages/openai/util.py", line 132, in convert_to_openai_object 2024-01-18T10:01:44.497643+01:00 odin hass[2353938]: File "/srv/homeassistant/venv.3.11.4/lib/python3.11/site-packages/openai/util.py", line 96, in get_object_classes 2024-01-18T10:01:44.497723+01:00 odin hass[2353938]: ModuleNotFoundError: No module named 'openai.object_classes'
Is this python version related?
2024-01-18T10:01:44.496639+01:00 odin hass[2353938]: File "/home/homeassistant/.homeassistant/custom_components/openai_response/sensor.py", line 66, in async_generate_openai_response 2024-01-18T10:01:44.496733+01:00 odin hass[2353938]: response = await self._hass.async_add_executor_job( 2024-01-18T10:01:44.496807+01:00 odin hass[2353938]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-18T10:01:44.496881+01:00 odin hass[2353938]: File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run 2024-01-18T10:01:44.496983+01:00 odin hass[2353938]: result = self.fn(*self.args, **self.kwargs) 2024-01-18T10:01:44.497057+01:00 odin hass[2353938]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-18T10:01:44.497140+01:00 odin hass[2353938]: File "/home/homeassistant/.homeassistant/custom_components/openai_response/sensor.py", line 32, in generate_openai_response_sync 2024-01-18T10:01:44.497235+01:00 odin hass[2353938]: return openai.Completion.create( 2024-01-18T10:01:44.497309+01:00 odin hass[2353938]: ^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-01-18T10:01:44.497405+01:00 odin hass[2353938]: File "/srv/homeassistant/venv.3.11.4/lib/python3.11/site-packages/openai/api_resources/completion.py", line 25, in create 2024-01-18T10:01:44.497485+01:00 odin hass[2353938]: File "/srv/homeassistant/venv.3.11.4/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 178, in create 2024-01-18T10:01:44.497565+01:00 odin hass[2353938]: File "/srv/homeassistant/venv.3.11.4/lib/python3.11/site-packages/openai/util.py", line 132, in convert_to_openai_object 2024-01-18T10:01:44.497643+01:00 odin hass[2353938]: File "/srv/homeassistant/venv.3.11.4/lib/python3.11/site-packages/openai/util.py", line 96, in get_object_classes 2024-01-18T10:01:44.497723+01:00 odin hass[2353938]: ModuleNotFoundError: No module named 'openai.object_classes'
Is this python version related?