File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
custom_components/ha_text_ai Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 40
40
API_PROVIDER_OPENAI ,
41
41
API_PROVIDER_ANTHROPIC ,
42
42
API_PROVIDER_DEEPSEEK ,
43
+ API_PROVIDER_GEMINI ,
43
44
DEFAULT_MODEL ,
44
45
DEFAULT_DEEPSEEK_MODEL ,
46
+ DEFAULT_GEMINI_MODEL ,
45
47
DEFAULT_TEMPERATURE ,
46
48
DEFAULT_MAX_TOKENS ,
47
49
DEFAULT_OPENAI_ENDPOINT ,
48
50
DEFAULT_ANTHROPIC_ENDPOINT ,
49
51
DEFAULT_DEEPSEEK_ENDPOINT ,
52
+ DEFAULT_GEMINI_ENDPOINT ,
50
53
DEFAULT_REQUEST_INTERVAL ,
51
54
DEFAULT_CONTEXT_MESSAGES ,
52
55
API_TIMEOUT ,
Original file line number Diff line number Diff line change 33
33
API_PROVIDERS ,
34
34
DEFAULT_MODEL ,
35
35
DEFAULT_DEEPSEEK_MODEL ,
36
+ DEFAULT_GEMINI_MODEL ,
36
37
DEFAULT_TEMPERATURE ,
37
38
DEFAULT_MAX_TOKENS ,
38
39
DEFAULT_REQUEST_INTERVAL ,
Original file line number Diff line number Diff line change 12
12
import voluptuous as vol
13
13
from homeassistant .const import Platform , CONF_API_KEY , CONF_NAME
14
14
from homeassistant .helpers import config_validation as cv
15
+ import logging
16
+ _LOGGER = logging .getLogger (__name__ )
15
17
16
18
# Domain and platforms
17
19
DOMAIN : Final = "ha_text_ai"
You can’t perform that action at this time.
0 commit comments