feat: 完善模型平台相关功能
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user