mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-23 21:16:06 +00:00
fix: AI_InvalidPromptError that occured due to previous commti from last night
This commit is contained in:
parent
524ea95a00
commit
25f0a2b80b
1 changed files with 1 additions and 1 deletions
|
|
@ -516,7 +516,7 @@ export namespace MessageV2 {
|
|||
toolCallId: part.callID,
|
||||
input: part.state.input,
|
||||
output: part.state.time.compacted
|
||||
? "[Old tool result content cleared]"
|
||||
? { output: "[Old tool result content cleared]", attachments: undefined }
|
||||
: { output: part.state.output, attachments: part.state.attachments },
|
||||
callProviderMetadata: part.metadata,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue