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

This commit is contained in:
Aiden Cline
2026-01-16 09:19:20 -06:00
parent 524ea95a00
commit 25f0a2b80b

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,
})