fix: improve syncing when switching conversations

This commit is contained in:
Danny Avila 2025-12-12 01:10:08 -05:00
parent 67f6d894ee
commit 53569bfc15
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
14 changed files with 314 additions and 176 deletions

View file

@ -190,7 +190,8 @@ export namespace Agents {
/** State data sent to reconnecting clients */
export interface ResumeState {
runSteps: RunStep[];
aggregatedContent?: ContentPart[];
/** Aggregated content parts - can be MessageContentComplex[] or ContentPart[] */
aggregatedContent?: MessageContentComplex[];
userMessage?: UserMessageMeta;
responseMessageId?: string;
conversationId?: string;