fix(tui): fork messages with agent attachments (#36338)
This commit is contained in:
parent
637282f3b9
commit
59202356fe
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { createMemo, createSignal, onMount, Show } from "solid-js"
|
||||
import { unwrap } from "solid-js/store"
|
||||
import { useData } from "../../context/data"
|
||||
import { useRoute } from "../../context/route"
|
||||
import { useSDK } from "../../context/sdk"
|
||||
|
|
@ -38,7 +39,7 @@ export function DialogFork(props: { sessionID: string; messageID?: string; onMov
|
|||
description: file.description,
|
||||
mention: file.mention,
|
||||
})),
|
||||
agents: structuredClone(message.agents ?? []),
|
||||
agents: structuredClone(unwrap(message.agents ?? [])),
|
||||
pasted: [],
|
||||
}
|
||||
: undefined,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue