tweak: add support for medium reasoning w/ gemini 3.1 (#14316)

This commit is contained in:
Aiden Cline 2026-02-19 12:00:56 -06:00 committed by GitHub
parent 91f8dd5f57
commit 5364ab74a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -599,8 +599,13 @@ export namespace ProviderTransform {
},
}
}
let levels = ["low", "high"]
if (id.includes("3.1")) {
levels = ["low", "medium", "high"]
}
return Object.fromEntries(
["low", "high"].map((effort) => [
levels.map((effort) => [
effort,
{
includeThoughts: true,