Aimpress_site/chatbot-api/config.py
Vadym Samoilenko 86628de88e Fix Claude model name to claude-sonnet-4-6
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 17:31:59 +00:00

21 lines
657 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
anthropic_api_key: str = ""
redis_url: str = "redis://chatbot-redis:6379"
rocketchat_url: str = "https://chat.ai-impress.com"
rocketchat_auth_token: str = ""
rocketchat_user_id: str = ""
n8n_webhook_url: str = "https://n8n.ai-impress.com/webhook"
max_messages_per_session: int = 30
max_message_length: int = 500
conversation_window: int = 15
max_response_tokens: int = 300
conversation_ttl: int = 86400 # 24 hours
model: str = "claude-sonnet-4-6"
model_config = {"env_file": ".env"}
settings = Settings()