Release v2.0.0

This commit is contained in:
SMKRV
2024-11-24 17:46:39 +03:00
parent dc4fcdf578
commit b94d859849
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
hass=hass,
client=api_client,
model=model,
update_interval=update_interval
update_interval=entry.data.get(CONF_REQUEST_INTERVAL, DEFAULT_REQUEST_INTERVAL), # Передаем числовое значение
instance_name=instance_name,
max_tokens=entry.data.get(CONF_MAX_TOKENS, DEFAULT_MAX_TOKENS),
temperature=entry.data.get(CONF_TEMPERATURE, DEFAULT_TEMPERATURE),