Skip to content

Commit 5aa2078

Browse files
committed
ignore: write todo
1 parent eb975bb commit 5aa2078

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

packages/opencode/src/session/message-v2.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -638,11 +638,8 @@ export namespace MessageV2 {
638638
state: "output-available",
639639
toolCallId: part.callID,
640640
input: part.state.input,
641-
output: part.state.attachments?.length
642-
? "[Image content moved to user message]"
643-
: part.state.time.compacted
644-
? "[Old tool result content cleared]"
645-
: part.state.output,
641+
// TODO: prolly need something better here when dealing with synthetic user messages + attachments
642+
output: part.state.time.compacted ? "[Old tool result content cleared]" : part.state.output,
646643
callProviderMetadata: part.metadata,
647644
})
648645
}

0 commit comments

Comments
 (0)