fin étape 2 (dev_agent) + automatisation lancement projet/arrêt projet + séparation des docker-compose
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import http
|
||||
from typing import Optional
|
||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
|
||||
class Settings(BaseSettings):
|
||||
@@ -18,11 +20,19 @@ class Settings(BaseSettings):
|
||||
|
||||
embedding_base_url: str = "http://localhost:8002/v1"
|
||||
embedding_model: str = "snowflake-arctic-embed-m-v1.5"
|
||||
|
||||
gitea_base_url: str
|
||||
gitea_api_url: str
|
||||
gitea_admin_user: str
|
||||
gitea_admin_password: str
|
||||
gitea_token: Optional[str] = None
|
||||
|
||||
model_config = SettingsConfigDict(
|
||||
env_file=".env",
|
||||
env_file_encoding="utf-8",
|
||||
case_sensitive=False,
|
||||
extra="ignore"
|
||||
)
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user