fix: compaction type issue

pull/4975/head
Aiden Cline 2025-12-03 20:43:47 -06:00
parent 598d63db63
commit f33f8ca109
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ export namespace SessionCompaction {
async transformParams(args) {
if (args.type === "stream") {
// @ts-expect-error
args.params.prompt = ProviderTransform.message(args.params.prompt, model.providerID, model.modelID)
args.params.prompt = ProviderTransform.message(args.params.prompt, model)
}
return args.params
},