fix: compaction type issue

This commit is contained in:
Aiden Cline 2025-12-03 20:43:47 -06:00
parent 598d63db63
commit f33f8ca109

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