mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-21 22:54:00 +08:00
Update const.py
This commit is contained in:
@@ -4,8 +4,9 @@ DOMAIN = "ha_text_ai"
|
||||
CONF_API_KEY = "api_key"
|
||||
CONF_API_BASE = "api_base"
|
||||
CONF_REQUEST_INTERVAL = "request_interval"
|
||||
|
||||
DEFAULT_API_BASE = "https://api.openai.com/v1"
|
||||
DEFAULT_REQUEST_INTERVAL = 2
|
||||
DEFAULT_REQUEST_INTERVAL = 5 # 5 seconds
|
||||
|
||||
# Text Helper related
|
||||
TEXT_HELPER_MAX_LENGTH = 65536
|
||||
|
||||
Reference in New Issue
Block a user