feat: 完善模型平台相关功能

This commit is contained in:
Winnie
2026-07-31 19:10:37 +08:00
parent 86988bdaef
commit 49ee2c0a4a
24 changed files with 529 additions and 125 deletions
+5 -1
View File
@@ -38,6 +38,10 @@ class Settings(BaseSettings):
default="dev-only-not-for-production",
description="HS256 secret used by backend's jupyter auth_request.",
)
demo_auth_enabled: bool = Field(
default=False,
description="Enable the self-hosted UI's short-lived demo session cookie.",
)
# ── service identity ──────────────────────────────────────────
service_name: str = Field(
@@ -148,4 +152,4 @@ def get_settings() -> Settings:
settings: Settings = get_settings()
__all__ = ["Settings", "get_settings", "settings"]
__all__ = ["Settings", "get_settings", "settings"]