Stabilize message stream rendering caches

This commit is contained in:
Shantur Rathore
2025-10-28 13:48:56 +00:00
parent 79e4931b28
commit 6597783e85
4 changed files with 190 additions and 56 deletions

View File

@@ -2,6 +2,9 @@ export interface MessageDisplayParts {
text: any[]
tool: any[]
reasoning: any[]
combined: any[]
showThinking: boolean
version: number
}
export interface Message {
@@ -11,5 +14,6 @@ export interface Message {
parts: any[]
timestamp: number
status: "sending" | "sent" | "streaming" | "complete" | "error"
version: number
displayParts?: MessageDisplayParts
}