fix: AI_InvalidPromptError that occured due to previous commti from last night

pull/8906/head
Aiden Cline 2026-01-16 09:19:20 -06:00
parent 524ea95a00
commit 25f0a2b80b
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ export namespace MessageV2 {
toolCallId: part.callID,
input: part.state.input,
output: part.state.time.compacted
? "[Old tool result content cleared]"
? { output: "[Old tool result content cleared]", attachments: undefined }
: { output: part.state.output, attachments: part.state.attachments },
callProviderMetadata: part.metadata,
})