[PR #8753] feat(opencode): add reasoning variants support for SAP AI Core #12855

Closed
opened 2026-02-16 18:17:44 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8753

State: closed
Merged: Yes


Fixes #8752

Summary

Adds support for reasoning model variants (Ctrl+T cycling) for SAP AI Core provider.

Changes

  • Added @mymediset/sap-ai-provider and @jerome-benoit/sap-ai-provider-v2 (see https://github.com/anomalyco/models.dev/pull/638) case to variants switch in transform.ts
  • Anthropic models: high and max variants with thinking.budgetTokens (16K/32K)
  • Other reasoning models: low, medium, high variants with reasoningEffort

Testing

  • All 67 existing tests pass
  • Successfully tested with SAP AI Core Anthropic models in production for several weeks
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8753 **State:** closed **Merged:** Yes --- Fixes #8752 ### Summary Adds support for reasoning model variants (Ctrl+T cycling) for SAP AI Core provider. ### Changes - Added `@mymediset/sap-ai-provider` and `@jerome-benoit/sap-ai-provider-v2` (see https://github.com/anomalyco/models.dev/pull/638) case to variants switch in `transform.ts` - Anthropic models: `high` and `max` variants with `thinking.budgetTokens` (16K/32K) - Other reasoning models: `low`, `medium`, `high` variants with `reasoningEffort` ### Testing - All 67 existing tests pass - Successfully tested with SAP AI Core Anthropic models in production for several weeks
yindo added the pull-request label 2026-02-16 18:17:44 -05:00
yindo closed this issue 2026-02-16 18:17:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12855