* Initial commit * Use add_suggested_values * Update homeassistant/components/anthropic/conversation.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Update strings.json * Update config_flow.py * Update config_flow.py * Fix tests * Update homeassistant/components/anthropic/conversation.py Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * Removed agent registration * Moved message_convert inline function outside --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Co-authored-by: Paulus Schoutsen <balloob@gmail.com> Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
15 lines
391 B
Python
15 lines
391 B
Python
"""Constants for the Anthropic integration."""
|
|
|
|
import logging
|
|
|
|
DOMAIN = "anthropic"
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
CONF_RECOMMENDED = "recommended"
|
|
CONF_PROMPT = "prompt"
|
|
CONF_CHAT_MODEL = "chat_model"
|
|
RECOMMENDED_CHAT_MODEL = "claude-3-5-sonnet-20240620"
|
|
CONF_MAX_TOKENS = "max_tokens"
|
|
RECOMMENDED_MAX_TOKENS = 1024
|
|
CONF_TEMPERATURE = "temperature"
|
|
RECOMMENDED_TEMPERATURE = 1.0
|