mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-30 12:43:32 +00:00
chore: generate
This commit is contained in:
parent
005bf088c9
commit
a277557a5f
2 changed files with 3 additions and 2 deletions
|
|
@ -86,7 +86,6 @@ describe("prompt attachment session ownership", () => {
|
|||
dispose()
|
||||
})
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
test("rejects a duplicate native clipboard attachment in the V2 prompt store", async () => {
|
||||
|
|
|
|||
|
|
@ -113,7 +113,9 @@ export function createPromptInputV2Attachments(
|
|||
(part) =>
|
||||
part.type === "image" &&
|
||||
part.dataUrl === url &&
|
||||
(sourcePath ? part.sourcePath === sourcePath : !part.sourcePath && (clipboard || part.filename === file.name)),
|
||||
(sourcePath
|
||||
? part.sourcePath === sourcePath
|
||||
: !part.sourcePath && (clipboard || part.filename === file.name)),
|
||||
)
|
||||
if (duplicate) {
|
||||
input.duplicate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue