feat: pass sessionID to chat.system.transform (#7718)

This commit is contained in:
Spoon
2026-01-11 01:21:51 +01:00
committed by GitHub
parent f94ee5ce90
commit 4752c83155
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ export namespace LLM {
const header = system[0]
const original = clone(system)
await Plugin.trigger("experimental.chat.system.transform", {}, { system })
await Plugin.trigger("experimental.chat.system.transform", { sessionID: input.sessionID }, { system })
if (system.length === 0) {
system.push(...original)
}