fix double system prompt

pull/1325/head
Dax Raad 2025-07-25 10:28:42 -04:00
parent d6b3bb0807
commit 8e5607f9c0
1 changed files with 0 additions and 1 deletions

View File

@ -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