|
|
@@ -1141,7 +1141,11 @@ export namespace Session {
|
|
|
const filtered = msgs.filter((msg) => !lastSummary || msg.info.id >= lastSummary.info.id)
|
|
|
const model = await Provider.getModel(input.providerID, input.modelID)
|
|
|
const app = App.info()
|
|
|
- const system = [...SystemPrompt.summarize(input.providerID), ...(await SystemPrompt.custom())]
|
|
|
+ const system = [
|
|
|
+ ...SystemPrompt.summarize(input.providerID),
|
|
|
+ ...(await SystemPrompt.environment()),
|
|
|
+ ...(await SystemPrompt.custom()),
|
|
|
+ ]
|
|
|
|
|
|
const next: MessageV2.Info = {
|
|
|
id: Identifier.ascending("message"),
|