|
@@ -638,8 +638,11 @@ export namespace MessageV2 {
|
|
|
state: "output-available",
|
|
state: "output-available",
|
|
|
toolCallId: part.callID,
|
|
toolCallId: part.callID,
|
|
|
input: part.state.input,
|
|
input: part.state.input,
|
|
|
- // TODO: prolly need something better here when dealing with synthetic user messages + attachments
|
|
|
|
|
- output: part.state.time.compacted ? "[Old tool result content cleared]" : part.state.output,
|
|
|
|
|
|
|
+ output: part.state.attachments?.length
|
|
|
|
|
+ ? "[Image content moved to user message]"
|
|
|
|
|
+ : part.state.time.compacted
|
|
|
|
|
+ ? "[Old tool result content cleared]"
|
|
|
|
|
+ : part.state.output,
|
|
|
callProviderMetadata: part.metadata,
|
|
callProviderMetadata: part.metadata,
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|