mirror of
https://github.com/sortedcord/alemno-payments.git
synced 2026-07-22 04:02:49 +05:30
feat: Add google-genai & structured output
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from typing import Optional
|
||||
from pydantic import Field, computed_field
|
||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
|
||||
@@ -23,6 +24,9 @@ class Settings(BaseSettings):
|
||||
REDIS_PORT: int = Field(default=6379)
|
||||
REDIS_DB: int = Field(default=0)
|
||||
|
||||
# Gemini
|
||||
GEMINI_API_KEY: Optional[str] = Field(default=None)
|
||||
|
||||
@computed_field
|
||||
@property
|
||||
def DATABASE_URL(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user