Spaces:
Sleeping
Sleeping
| from functools import lru_cache | |
| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| class Settings(BaseSettings): | |
| # Pydantic automatically finds CLERK_SECRET_KEY in your .env.local | |
| groq_secret_key: str | |
| model_config = SettingsConfigDict( | |
| env_file=".env.local", | |
| env_file_encoding="utf-8", | |
| extra="ignore", | |
| ) | |
| def get_settings() -> Settings: | |
| return Settings() # type: ignore | |