[PR #8335] fix(app): support anthropic models on azure cognitive services #12713

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

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

State: closed
Merged: Yes


Fixes https://github.com/sst/opencode/issues/5294

When using Azure Cognitive Services with Claude/Anthropic models, this automatically switches to @ai-sdk/anthropic with the appropriate Azure baseURL.

Users can now configure Anthropic models under the azure-cognitive-services provider:

{
  "provider": {
    "azure-cognitive-services": {
      "models": {
        "claude-opus-4-5": { "id": "claude-opus-4-5" }
      }
    }
  }
}

With env vars:

  • AZURE_COGNITIVE_SERVICES_RESOURCE_NAME
  • AZURE_COGNITIVE_SERVICES_API_KEY
Screenshot 2026-01-14 at 09 43 10
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8335 **State:** closed **Merged:** Yes --- Fixes https://github.com/sst/opencode/issues/5294 When using Azure Cognitive Services with Claude/Anthropic models, this automatically switches to @ai-sdk/anthropic with the appropriate Azure baseURL. Users can now configure Anthropic models under the azure-cognitive-services provider: ```json { "provider": { "azure-cognitive-services": { "models": { "claude-opus-4-5": { "id": "claude-opus-4-5" } } } } } ``` With env vars: - AZURE_COGNITIVE_SERVICES_RESOURCE_NAME - AZURE_COGNITIVE_SERVICES_API_KEY <img width="1666" height="987" alt="Screenshot 2026-01-14 at 09 43 10" src="https://github.com/user-attachments/assets/a7fb729c-a320-4bf4-85aa-4e8f2179f7c7" />
yindo added the pull-request label 2026-02-16 18:17:36 -05:00
yindo closed this issue 2026-02-16 18:17:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12713