feat: persist photos and enrich conversation history

This commit is contained in:
Xin Wang
2026-08-05 16:14:03 +08:00
parent 545536bdf3
commit 317a0600bc
19 changed files with 1146 additions and 119 deletions
+18 -1
View File
@@ -325,7 +325,24 @@ export type ConversationMessage = {
contentType: string;
content: string;
occurredAt: string;
extra: { interrupted?: boolean; turn_id?: string };
extra: {
interrupted?: boolean;
turn_id?: string;
source?: string;
node_id?: string;
input_id?: string;
};
artifacts: ConversationArtifact[];
};
export type ConversationArtifact = {
id: string;
kind: string;
contentUrl: string;
mimeType: string;
sizeBytes: number | null;
durationMs: number | null;
extra: Record<string, unknown>;
};
export type ConversationDetail = Conversation & {