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

@@ -17,6 +17,7 @@ import { PermissionNext } from "@/permission/next"
import { mergeDeep, pipe, sortBy, values } from "remeda"
import { Global } from "@/global"
import path from "path"
import { Plugin } from "@/plugin"
export namespace Agent {
export const Info = z
@@ -279,8 +280,8 @@ export namespace Agent {
const model = await Provider.getModel(defaultModel.providerID, defaultModel.modelID)
const language = await Provider.getLanguage(model)
const system = SystemPrompt.header(defaultModel.providerID)
system.push(PROMPT_GENERATE)
const system = [PROMPT_GENERATE]
await Plugin.trigger("experimental.chat.system.transform", { model }, { system })
const existing = await list()
const params = {