mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-27 02:54:48 +00:00
fix double system prompt
This commit is contained in:
@@ -626,7 +626,6 @@ export namespace Session {
|
|||||||
return SystemPrompt.provider(input.modelID)
|
return SystemPrompt.provider(input.modelID)
|
||||||
})(),
|
})(),
|
||||||
)
|
)
|
||||||
system.push(...(mode.prompt ? [mode.prompt] : SystemPrompt.provider(input.modelID)))
|
|
||||||
system.push(...(await SystemPrompt.environment()))
|
system.push(...(await SystemPrompt.environment()))
|
||||||
system.push(...(await SystemPrompt.custom()))
|
system.push(...(await SystemPrompt.custom()))
|
||||||
// max 2 system prompt messages for caching purposes
|
// max 2 system prompt messages for caching purposes
|
||||||
|
|||||||
Reference in New Issue
Block a user