fix(chat): preserve retry attachments and per-answer context snapshots

This commit is contained in:
2026-09-07 00:09:14 +08:00
parent 11e5785681
commit ac2d36bf9c
10 changed files with 106 additions and 5 deletions
+1
View File
@@ -312,6 +312,7 @@ class ConversationListResponse(Contract):
class ChatMessage(Contract):
context_captured: bool = False
attachments: list[str] = Field(default_factory=list)
workspace_context: WorkspaceContext | None = None
activity: list[dict[str, Any]] = Field(default_factory=list)