mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
parent
10faf9e717
commit
d2a61290b9
1 changed files with 5 additions and 2 deletions
|
|
@ -638,8 +638,11 @@ export namespace MessageV2 {
|
|||
state: "output-available",
|
||||
toolCallId: part.callID,
|
||||
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,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue