mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix: await SessionRevert.cleanup for shell (#10669)
This commit is contained in:
parent
444934a4c1
commit
6b83b172ae
1 changed files with 1 additions and 1 deletions
|
|
@ -1349,7 +1349,7 @@ NOTE: At any point in time through this workflow you should feel free to ask the
|
|||
|
||||
const session = await Session.get(input.sessionID)
|
||||
if (session.revert) {
|
||||
SessionRevert.cleanup(session)
|
||||
await SessionRevert.cleanup(session)
|
||||
}
|
||||
const agent = await Agent.get(input.agent)
|
||||
const model = input.model ?? agent.model ?? (await lastModel(input.sessionID))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue