23 lines
491 B
Python
23 lines
491 B
Python
|
|
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||
|
|
|
||
|
|
|
||
|
|
class Settings(BaseSettings):
|
||
|
|
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
||
|
|
|
||
|
|
DATABASE_URL: str
|
||
|
|
REDIS_URL: str
|
||
|
|
SECRET_KEY: str
|
||
|
|
ENVIRONMENT: str = "development"
|
||
|
|
|
||
|
|
META_APP_ID: str = ""
|
||
|
|
META_APP_SECRET: str = ""
|
||
|
|
META_WEBHOOK_VERIFY_TOKEN: str = ""
|
||
|
|
|
||
|
|
ANTHROPIC_API_KEY: str = ""
|
||
|
|
|
||
|
|
ACCESS_TOKEN_EXPIRE_MINUTES: int = 60
|
||
|
|
ALGORITHM: str = "HS256"
|
||
|
|
|
||
|
|
|
||
|
|
settings = Settings()
|