parent
10faf9e717
commit
d2a61290b9
1 changed files with 5 additions and 2 deletions
|
|
@ -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.attachments?.length
|
||||||
output: part.state.time.compacted ? "[Old tool result content cleared]" : part.state.output,
|
? "[Image content moved to user message]"
|
||||||
|
: part.state.time.compacted
|
||||||
|
? "[Old tool result content cleared]"
|
||||||
|
: part.state.output,
|
||||||
callProviderMetadata: part.metadata,
|
callProviderMetadata: part.metadata,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue