Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
唐鳳
2026-08-18 13:42:47 +08:00
committed by GitHub
parent f7df5d4970
commit a073cd1763
+4 -4
View File
@@ -797,10 +797,10 @@ export function requireSupportedEffort<TApi extends Api>(model: ApiModel<TApi>,
}
/** Maps a normalized thinking effort to Google's `thinkingLevel` enum values.
* When a collapsed family routes `minimal` onto the same wire id as `low`
* (Antigravity Gemini 3.6/3.7 Flash), emit `LOW` — Cloud Code Assist rejects
* `MINIMAL` on those `-low` SKUs. */
export function mapEffortToGoogleThinkingLevel<TApi extends Api>(
* When a collapsed family routes `minimal` onto the same wire id as `low`
* (Antigravity Gemini 3.6/3.7 Flash), emit `LOW` — Cloud Code Assist rejects
* `MINIMAL` on those `-low` SKUs.
*/
effort: Effort,
model?: ApiModel<TApi>,
): "MINIMAL" | "LOW" | "MEDIUM" | "HIGH" {