You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e97a3d2
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(opencode): share Google thinking variants between native and SAP
- Extract googleThinkingVariants(model) from @ai-sdk/google[/-vertex] and
reuse it in the SAP case. SAP now inherits Gemini 3.x thinkingLevel
tiers via googleThinkingLevelEfforts, matching the forward-compat
coverage already in place for GPT (openaiReasoningEfforts) and
Anthropic (anthropicAdaptiveEfforts).
- Drop sapGeminiReasoningParams and inline sapOpenaiReasoningParams
per AGENTS.md single-use rule.
- Fix @ai-sdk/gateway Google 2.5 max budget hardcoded to 24576 \u2014 now
uses googleThinkingBudgetMax (32k for 2.5 Pro, 24k for Flash).
- Brace SAP case if-bodies for consistency with the rest of the switch.
- Add Gemini 3 SAP test (gemini-3.1-flash-lite) and missing result.high
assertion on gemini-2.5-flash.
0 commit comments