""" Slack credentials loaded from .env file. """ from pathlib import Path from pydantic_settings import BaseSettings ENV_FILE = Path(__file__).parent.parent / ".env" class SlackConfig(BaseSettings): slack_bot_token: str | None = None # xoxb-... Bot token slack_user_token: str | None = None # xoxp-... User token (optional, for user-level actions) api_port: int = 8002 model_config = { "env_file": ENV_FILE, "env_file_encoding": "utf-8", } settings = SlackConfig()