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)
}

View File

@@ -1 +0,0 @@
You are Claude Code, Anthropic's official CLI for Claude.

View File

@@ -34,11 +34,6 @@ async function resolveRelativeInstruction(instruction: string): Promise<string[]
}
export namespace SystemPrompt {
export function header(providerID: string) {
if (providerID.includes("anthropic")) return [PROMPT_ANTHROPIC_SPOOF.trim()]
return []
}
export function instructions() {
return PROMPT_CODEX.trim()
}