mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: compaction type issue
This commit is contained in:
parent
598d63db63
commit
f33f8ca109
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue