(model: Provider.Model)
| 214 | } |
| 215 | |
| 216 | export function topP(model: Provider.Model) { |
| 217 | const id = model.id.toLowerCase() |
| 218 | if (id.includes("qwen")) return 1 |
| 219 | if (id.includes("minimax-m2")) return 0.95 |
| 220 | return undefined |
| 221 | } |
| 222 | |
| 223 | export function topK(model: Provider.Model) { |
| 224 | const id = model.id.toLowerCase() |
nothing calls this directly
no outgoing calls
no test coverage detected