handoff fixes

This commit is contained in:
debu-2 2026-10-06 03:14:53 +05:30
parent 89ddebdb60
commit 8d5e9712a6
20 changed files with 1056 additions and 141 deletions

View file

@ -310,13 +310,14 @@ class HandoffConversationSummary(BaseModel):
class HandoffMessageRead(BaseModel):
id: str
role: Literal["agent", "human"]
role: Literal["agent", "human", "customer"]
subject: str
snippet: str
body_text: str
new_reply_content: str | None = None
raw_body: str | None = None
has_quoted_text: bool = False
relay_status: str | None = None
event_at: datetime