# settings.py import os from pydantic_settings import BaseSettings, SettingsConfigDict from pydantic import HttpUrl, SecretStr class Settings(BaseSettings): def __init__(self): super().__init__() # No Langfuse authentication setup needed here anymore # Configure Pydantic Settings to load from .env file model_config = SettingsConfigDict(env_file='.env') # API Base URLs scoring_api_base_url: HttpUrl = HttpUrl( "https://agents-course-unit4-scoring.hf.space" ) chess_eval_url: HttpUrl = HttpUrl( "https://stockfish.online/api/s/v2.php" ) # API Keys (SecretStr for security) gemini_api_key: SecretStr space_id: str username: str # set_langfuse_auth method removed