mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-19 08:09:51 +00:00
chore: generate
This commit is contained in:
parent
574b2c2170
commit
504fd1b373
1 changed files with 3 additions and 1 deletions
|
|
@ -177,7 +177,9 @@ async function summaryAssistant(sessionID: SessionID, parentID: MessageID, root:
|
|||
}
|
||||
|
||||
async function lastCompactionPart(sessionID: SessionID) {
|
||||
return (await svc.messages({ sessionID })).at(-2)?.parts.find((item): item is MessageV2.CompactionPart => item.type === "compaction")
|
||||
return (await svc.messages({ sessionID }))
|
||||
.at(-2)
|
||||
?.parts.find((item): item is MessageV2.CompactionPart => item.type === "compaction")
|
||||
}
|
||||
|
||||
function fake(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue