|
|
@@ -111,7 +111,9 @@ export namespace SessionCompaction {
|
|
|
draft.time.compacting = undefined
|
|
|
})
|
|
|
})
|
|
|
- const toSummarize = await Session.messages({ sessionID: input.sessionID }).then(MessageV2.filterCompacted)
|
|
|
+ const toSummarize = await Session.messages({ sessionID: input.sessionID }).then(
|
|
|
+ MessageV2.filterCompacted,
|
|
|
+ )
|
|
|
const model = await Provider.getModel(input.providerID, input.modelID)
|
|
|
const system = [
|
|
|
...SystemPrompt.summarize(model.providerID),
|