Release v2.0.0

This commit is contained in:
SMKRV
2024-11-21 19:16:21 +03:00
parent f3b76c0bc1
commit 158db522a8
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
model=model,
temperature=entry.data.get(CONF_TEMPERATURE, DEFAULT_TEMPERATURE),
max_tokens=entry.data.get(CONF_MAX_TOKENS, DEFAULT_MAX_TOKENS),
request_interval=entry.data.get(CONF_REQUEST_INTERVAL, DEFAULT_REQUEST_INTERVAL),
request_interval=float(entry.data.get(CONF_REQUEST_INTERVAL, DEFAULT_REQUEST_INTERVAL)),
session=session,
is_anthropic=is_anthropic
)