mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-21 02:22:40 +00:00
fix: add custom() to system prompt on summarize (#1289)
This commit is contained in:
parent
541a7a39d3
commit
e9074e60cf
1 changed files with 1 additions and 1 deletions
|
|
@ -1120,7 +1120,7 @@ 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)
|
||||
const system = [...SystemPrompt.summarize(input.providerID), ...(await SystemPrompt.custom())]
|
||||
|
||||
const next: MessageV2.Info = {
|
||||
id: Identifier.ascending("message"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue