feat(session): add unified_session config to share one session across all channels

This commit is contained in:
whs
2026-04-09 11:09:25 +08:00
committed by Xubin Ren
parent bfec06a2c1
commit 743e73da3f
5 changed files with 205 additions and 1 deletions
+1
View File
@@ -76,6 +76,7 @@ class AgentDefaults(Base):
provider_retry_mode: Literal["standard", "persistent"] = "standard"
reasoning_effort: str | None = None # low / medium / high / adaptive - enables LLM thinking mode
timezone: str = "UTC" # IANA timezone, e.g. "Asia/Shanghai", "America/New_York"
unified_session: bool = False # Share one session across all channels (single-user multi-device)
dream: DreamConfig = Field(default_factory=DreamConfig)