add missing await

This commit is contained in:
Alex O'Connell
2024-06-13 21:05:11 -04:00
parent a7ba4d784e
commit 78e7a7354c

View File

@@ -566,7 +566,7 @@ class ConfigFlow(BaseLlamaConversationConfigFlow, config_entries.ConfigFlow, dom
headers=headers
) as response:
response.raise_for_status()
models = response.json()
models = await response.json()
for model in models["model_names"]:
if model == self.model_config[CONF_CHAT_MODEL].replace("/", "_"):