Browse Source

ignore: write todo

Aiden Cline 3 months ago
parent
commit
5aa2078852
1 changed files with 2 additions and 5 deletions
  1. 2 5
      packages/opencode/src/session/message-v2.ts

+ 2 - 5
packages/opencode/src/session/message-v2.ts

@@ -638,11 +638,8 @@ export namespace MessageV2 {
                 state: "output-available",
                 toolCallId: part.callID,
                 input: part.state.input,
-                output: part.state.attachments?.length
-                  ? "[Image content moved to user message]"
-                  : part.state.time.compacted
-                    ? "[Old tool result content cleared]"
-                    : part.state.output,
+                // 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,
                 callProviderMetadata: part.metadata,
               })
             }