OpenAI Conversation will not install

  • Core2025.4.0
  • Supervisor2025.03.4
  • Operating System15.1
  • Frontend20250401.0
    I went to install OpenAI Conversation this morning and was greeted with
    Config flow could not be loaded: {“message”:“Invalid handler specified”}
    after the wizard began.

What should I be looking for?

Thanks!

I have the same problem. I had it installed in the past and have deleted it.

I have the HACS Extended OpenAI Conversation installed.

But I wanted to try out continued conversation with the OpenAI Conversation integration but ran into the same error when trying to install again.

Logger: homeassistant.loader
Source: loader.py:1249
First occurred: 10:26:27 (2 occurrences)
Last logged: 10:26:27

Unexpected exception importing platform homeassistant.components.openai_conversation.config_flow
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1249, in _load_platform
    cache[full_name] = self._import_platform(platform_name)
                       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1281, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/src/homeassistant/homeassistant/components/openai_conversation/__init__.py", line 11, in <module>
    from openai.types.responses import (
    ...<6 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/openai/types/responses/__init__.py", line 5, in <module>
    from .tool import Tool as Tool
  File "/usr/local/lib/python3.13/site-packages/openai/types/responses/tool.py", line 15, in <module>
    Union[FileSearchTool, FunctionTool, ComputerTool, WebSearchTool], PropertyInfo(discriminator="type")
                                                                      ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
TypeError: PropertyInfo.__init__() got an unexpected keyword argument 'discriminator'

You’re probably running into a dependency conflict - Extended OpenAI Conversation requires a 1.3.x version of the OpenAI python library, whereas HomeAssistant’s built-in OpenAI Conversation integration requires exactly 1.68.2. Try uninstalling Extended OpenAI Conversation (and any other integrations that might depend on older versions of the library), and then you should be able to install the regular OpenAI integration.

2 Likes

Yes this fixed it, awesome, thank you! Removing Extended OpenAI Conversation, installing OpenAI Conversation and then re-installing Extended OpenAI Conversation.

Fingers crossed now for an update of Extended OpenAI Conversation that supports continued conversation.

1 Like