|
@@ -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)
|
|
const session = await Session.get(input.sessionID)
|
|
|
if (session.revert) {
|
|
if (session.revert) {
|
|
|
- SessionRevert.cleanup(session)
|
|
|
|
|
|
|
+ await SessionRevert.cleanup(session)
|
|
|
}
|
|
}
|
|
|
const agent = await Agent.get(input.agent)
|
|
const agent = await Agent.get(input.agent)
|
|
|
const model = input.model ?? agent.model ?? (await lastModel(input.sessionID))
|
|
const model = input.model ?? agent.model ?? (await lastModel(input.sessionID))
|