mirror of
https://github.com/acon96/home-llm.git
synced 2026-01-09 13:48:05 -05:00
add missing await
This commit is contained in:
@@ -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("/", "_"):
|
||||
|
||||
Reference in New Issue
Block a user