make top_p configurable

This commit is contained in:
Dax Raad
2025-08-01 17:03:33 -04:00
parent 36318f74f7
commit cbd7db5a73
6 changed files with 11 additions and 35 deletions
@@ -50,4 +50,9 @@ export namespace ProviderTransform {
if (modelID.toLowerCase().includes("qwen")) return 0.55
return 0
}
export function topP(_providerID: string, modelID: string) {
if (modelID.toLowerCase().includes("qwen")) return 1
return undefined
}
}