Open Jurgenn22 opened 1 year ago
Hi, It was my config, everything works again.
Same problem here, what was the problem with your config?
@wsjunior1985 Hi, It was the config, incorrectly copied piece of the session cookie.
Make sure you comfirmed your account with your email.
Hi,
Hi It doesn't work at the moment. I get the following error in the logs.
Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/openmindsai/sensor.py", line 69, in async_ask response = await self._hass.async_add_executor_job(ask, self._session_cookie, self._model, new_query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/openmindsai/sensor.py", line 31, in ask response_message = response_json[0]["response"]