mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-20 09:32:19 +00:00
fix double system prompt
This commit is contained in:
parent
d6b3bb0807
commit
8e5607f9c0
1 changed files with 0 additions and 1 deletions
|
|
@ -626,7 +626,6 @@ export namespace Session {
|
|||
return SystemPrompt.provider(input.modelID)
|
||||
})(),
|
||||
)
|
||||
system.push(...(mode.prompt ? [mode.prompt] : SystemPrompt.provider(input.modelID)))
|
||||
system.push(...(await SystemPrompt.environment()))
|
||||
system.push(...(await SystemPrompt.custom()))
|
||||
// max 2 system prompt messages for caching purposes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue