Skip to content

SAP AI provider missing thinking variants for Gemini 2.5 and Claude 4.6 #14957

@jerome-benoit

Description

@jerome-benoit

Description

SAP AI provider (@jerome-benoit/sap-ai-provider-v2) has incomplete thinking/reasoning variant support:

  1. Gemini 2.5 models incorrectly receive reasoningEffort instead of thinkingConfig
  2. Claude 4.6 models are not detected via the transverse isAnthropicAdaptive variable, missing adaptive thinking support

This causes thinking variants to not work correctly for these model families via SAP AI Core.

Plugins

N/A

OpenCode version

Latest (dev branch)

Steps to reproduce

  1. Configure SAP AI provider with Gemini 2.5 or Claude 4.6 model
  2. Select a reasoning variant (high/max)
  3. Gemini 2.5 receives reasoningEffort instead of thinkingConfig
  4. Claude 4.6 does not receive adaptive thinking config

Screenshot and/or share link

N/A

Operating System

macOS

Terminal

iTerm2

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions