Skip to content

Commit 7378837

Browse files
author
SMKRV
committed
Release v2.1.3
1 parent 4bfc960 commit 7378837

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

custom_components/ha_text_ai/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,16 @@
4040
API_PROVIDER_OPENAI,
4141
API_PROVIDER_ANTHROPIC,
4242
API_PROVIDER_DEEPSEEK,
43+
API_PROVIDER_GEMINI,
4344
DEFAULT_MODEL,
4445
DEFAULT_DEEPSEEK_MODEL,
46+
DEFAULT_GEMINI_MODEL,
4547
DEFAULT_TEMPERATURE,
4648
DEFAULT_MAX_TOKENS,
4749
DEFAULT_OPENAI_ENDPOINT,
4850
DEFAULT_ANTHROPIC_ENDPOINT,
4951
DEFAULT_DEEPSEEK_ENDPOINT,
52+
DEFAULT_GEMINI_ENDPOINT,
5053
DEFAULT_REQUEST_INTERVAL,
5154
DEFAULT_CONTEXT_MESSAGES,
5255
API_TIMEOUT,

custom_components/ha_text_ai/config_flow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
API_PROVIDERS,
3434
DEFAULT_MODEL,
3535
DEFAULT_DEEPSEEK_MODEL,
36+
DEFAULT_GEMINI_MODEL,
3637
DEFAULT_TEMPERATURE,
3738
DEFAULT_MAX_TOKENS,
3839
DEFAULT_REQUEST_INTERVAL,

custom_components/ha_text_ai/const.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
import voluptuous as vol
1313
from homeassistant.const import Platform, CONF_API_KEY, CONF_NAME
1414
from homeassistant.helpers import config_validation as cv
15+
import logging
16+
_LOGGER = logging.getLogger(__name__)
1517

1618
# Domain and platforms
1719
DOMAIN: Final = "ha_text_ai"

0 commit comments

Comments
 (0)