Fix: added environment() to summarize() (#1290)
parent
4306f1a339
commit
01f75839a9
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Reference in New Issue