(model: Provider.Model)
| 200 | } |
| 201 | |
| 202 | export function temperature(model: Provider.Model) { |
| 203 | const id = model.id.toLowerCase() |
| 204 | if (id.includes("qwen")) return 0.55 |
| 205 | if (id.includes("claude")) return undefined |
| 206 | if (id.includes("gemini-3-pro")) return 1.0 |
| 207 | if (id.includes("glm-4.6")) return 1.0 |
| 208 | if (id.includes("minimax-m2")) return 1.0 |
| 209 | // if (id.includes("kimi-k2")) { |
| 210 | // if (id.includes("thinking")) return 1.0 |
| 211 | // return 0.6 |
| 212 | // } |
| 213 | return 0 |
| 214 | } |
| 215 | |
| 216 | export function topP(model: Provider.Model) { |
| 217 | const id = model.id.toLowerCase() |
nothing calls this directly
no outgoing calls
no test coverage detected