feat(webui): add temporary chat mode
This commit is contained in:
1 parent
113e8d67ad
commit
c9a6145878
41 files changed
+1500
-119
No files matched your search
@@ -18,6 +18,8 @@ INBOUND_META_RUNTIME_CONTROL = "_runtime_control"
|
||||
RUNTIME_CONTROL_ACK = "_ack"
|
||||
RUNTIME_CONTROL_MCP_RELOAD = "mcp_reload"
|
||||
RUNTIME_CONTROL_IMAGE_GENERATION_RELOAD = "image_generation_reload"
|
||||
RUNTIME_CONTROL_TRANSIENT_SESSION_DISCARD = "transient_session_discard"
|
||||
INBOUND_META_TRANSIENT_SESSION = "_transient_session"
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -32,6 +34,7 @@ class InboundMessage:
|
||||
media: list[str] = field(default_factory=list) # Media URLs
|
||||
metadata: dict[str, Any] = field(default_factory=dict) # Channel-specific data
|
||||
session_key_override: str | None = None # Optional override for thread-scoped sessions
|
||||
transient_session: bool = False # Channel-owned session that must never reach storage
|
||||
|
||||
@property
|
||||
def session_key(self) -> str:
|
||||
|
||||
Reference in new issue
Block a user