feat: persist photos and enrich conversation history
This commit is contained in:
+18
-1
@@ -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 & {
|
||||
|
||||
Reference in New Issue
Block a user