fix: AI_InvalidPromptError that occured due to previous commti from last night
parent
524ea95a00
commit
25f0a2b80b
|
|
@ -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,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue