feat: integrate Peg AI wellness coach
This commit is contained in:
@@ -9,6 +9,10 @@ class Settings(BaseSettings):
|
||||
access_token_minutes: int = 30
|
||||
allowed_origins: str = "http://localhost:8081,http://localhost:19006"
|
||||
environment: str = "development"
|
||||
ai_base_url: str = "http://localhost:11434/v1"
|
||||
ai_api_key: str = ""
|
||||
ai_model: str = "llama3.2:3b"
|
||||
ai_timeout_seconds: float = 20.0
|
||||
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
||||
|
||||
@property
|
||||
@@ -19,4 +23,3 @@ class Settings(BaseSettings):
|
||||
@lru_cache
|
||||
def get_settings() -> Settings:
|
||||
return Settings()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user