We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4b7f75 commit 8785becCopy full SHA for 8785bec
1 file changed
packages/opencode/src/provider/transform.ts
@@ -227,13 +227,16 @@ export namespace ProviderTransform {
227
export function topP(model: Provider.Model) {
228
const id = model.id.toLowerCase()
229
if (id.includes("qwen")) return 1
230
- if (id.includes("minimax-m2")) return 0.95
+ if (id.includes("minimax-m2")) {
231
+ if (id.includes("m2.1")) return 0.9
232
+ return 0.95
233
+ }
234
return undefined
235
}
236
237
export function topK(model: Provider.Model) {
238
- if (id.includes("minimax-m2")) return 40
239
+ if (id.includes("minimax-m2")) return 20
240
241
242
0 commit comments