Release v2.0.0

This commit is contained in:
SMKRV
2024-11-23 00:36:58 +03:00
parent 13a9e1a5d7
commit d870cfbba6
6 changed files with 80 additions and 53 deletions
+1
View File
@@ -252,6 +252,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
temperature=entry.data.get(CONF_TEMPERATURE, DEFAULT_TEMPERATURE),
max_tokens=entry.data.get(CONF_MAX_TOKENS, DEFAULT_MAX_TOKENS),
request_interval=float(entry.data.get(CONF_REQUEST_INTERVAL, DEFAULT_REQUEST_INTERVAL)),
name=entry.title, # Передаем имя из конфигурации
session=session,
is_anthropic=is_anthropic
)