ignore: rm spoof and bump plugin version

This commit is contained in:
Aiden Cline
2026-01-25 17:27:15 -05:00
parent a84843507f
commit 94dd0a8dbe
7 changed files with 12 additions and 13 deletions

View File

@@ -66,7 +66,7 @@ export namespace LLM {
])
const isCodex = provider.id === "openai" && auth?.type === "oauth"
const system = SystemPrompt.header(input.model.providerID)
const system = []
system.push(
[
// use agent prompt otherwise provider prompt
@@ -83,7 +83,11 @@ export namespace LLM {
const header = system[0]
const original = clone(system)
await Plugin.trigger("experimental.chat.system.transform", { sessionID: input.sessionID }, { system })
await Plugin.trigger(
"experimental.chat.system.transform",
{ sessionID: input.sessionID, model: input.model },
{ system },
)
if (system.length === 0) {
system.push(...original)
}