diff options
| author | Aiden Cline <[email protected]> | 2025-11-20 14:13:56 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-11-20 14:13:56 -0600 |
| commit | d2a61290b9c798efb46601b36dd2551acc366e1e (patch) | |
| tree | c10c5d3d31d5416f5f89cddc165fa07624435e9e | |
| parent | 10faf9e717a685862fc3e3b447a333a3d7e8fa7f (diff) | |
| download | opencode-d2a61290b9c798efb46601b36dd2551acc366e1e.tar.gz opencode-d2a61290b9c798efb46601b36dd2551acc366e1e.zip | |
Revert "ignore: write todo"
This reverts commit 5aa2078852216c7361acc109c478c03dbd639f19.
| -rw-r--r-- | packages/opencode/src/session/message-v2.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/opencode/src/session/message-v2.ts b/packages/opencode/src/session/message-v2.ts index ebe731abb..b35618c1e 100644 --- a/packages/opencode/src/session/message-v2.ts +++ b/packages/opencode/src/session/message-v2.ts @@ -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, }) } |
