From 8b37d7b2030021386a3fd79a6e634edbd426f887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Hedenstr=C3=B6m?= <erik@hedenstroem.com> Date: Thu, 20 Jun 2024 10:28:23 +0000 Subject: [PATCH] Added debug output --- openai_patch/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openai_patch/__init__.py b/openai_patch/__init__.py index edfa276..62f031f 100644 --- a/openai_patch/__init__.py +++ b/openai_patch/__init__.py @@ -16,7 +16,8 @@ async def async_setup(hass, config): async def async_process(self, user_input: conversation.ConversationInput) -> conversation.ConversationResult: _LOGGER.debug("OpenAIConversationEntity.async_process") client = self.entry.runtime_data - _LOGGER.debug(client.base_url) + _LOGGER.debug(dir(client)) + _LOGGER.debug(vars(client)) result = await original(self, user_input) return result -- GitLab