[PR #12591] feat: add duo-chat-opus-4-6 model definition to models-api.json a… #14287

Open
opened 2026-02-16 18:19:05 -05:00 by yindo · 0 comments
Owner

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

State: open
Merged: No


Summary

Fixes #12564

Adds the missing duo-chat-opus-4-6 model to the GitLab Duo provider, resolving the error:

GitLabError: Unknown model ID: duo-chat-opus-4-6. Model must be registered in MODEL_MAPPINGS

Changes

  • Added duo-chat-opus-4-6 model definition to test fixtures
  • Updated GitLab provider test to verify model availability

Model Specification

Property Value
ID duo-chat-opus-4-6
Name Agentic Chat (Claude Opus 4.6)
Family claude-opus
Context 200K tokens
Output 128K tokens
Capabilities attachments, reasoning, tool_call, temperature
Modalities text, image, pdf → text

Testing

  • JSON syntax validated
  • Model definition follows existing patterns

Checklist

  • Code follows project conventions
  • Changes are minimal and focused
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12591 **State:** open **Merged:** No --- ## Summary Fixes #12564 Adds the missing `duo-chat-opus-4-6` model to the GitLab Duo provider, resolving the error: > GitLabError: Unknown model ID: duo-chat-opus-4-6. Model must be registered in MODEL_MAPPINGS ## Changes - Added `duo-chat-opus-4-6` model definition to test fixtures - Updated GitLab provider test to verify model availability ## Model Specification | Property | Value | |----------|-------| | ID | `duo-chat-opus-4-6` | | Name | Agentic Chat (Claude Opus 4.6) | | Family | claude-opus | | Context | 200K tokens | | Output | 128K tokens | | Capabilities | attachments, reasoning, tool_call, temperature | | Modalities | text, image, pdf → text | ## Testing - [x] JSON syntax validated - [x] Model definition follows existing patterns ## Checklist - [x] Code follows project conventions - [x] Changes are minimal and focused
yindo added the pull-request label 2026-02-16 18:19:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14287