Files
WhatsAppCentralizado/services/flow-engine/app/config.py
Claude AI d1d1aa58e1 feat(flow-engine): add Odoo node executors
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 22:28:26 +00:00

25 lines
689 B
Python

from pydantic_settings import BaseSettings
from functools import lru_cache
class Settings(BaseSettings):
DATABASE_URL: str = "postgresql://whatsapp_admin:password@localhost:5432/whatsapp_central"
REDIS_URL: str = "redis://localhost:6379"
# DeepSeek AI (OpenAI-compatible API)
DEEPSEEK_API_KEY: str = ""
DEEPSEEK_MODEL: str = "deepseek-chat"
DEEPSEEK_BASE_URL: str = "https://api.deepseek.com"
API_GATEWAY_URL: str = "http://localhost:8000"
WHATSAPP_CORE_URL: str = "http://localhost:3001"
INTEGRATIONS_URL: str = "http://localhost:8002"
class Config:
env_file = ".env"
@lru_cache
def get_settings() -> Settings:
return Settings()