feat: add gitlab duo-chat-opus-5 model - #3765
Merged
Merged
Conversation
Contributor
Action items
|
Contributor
Action items
|
This was referenced Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
providers/gitlab/models/duo-chat-opus-5.tomlfor the GitLab provider's newduo-chat-opus-5model id (Claude Opus 5) so it shows up in opencode's model picker.Details
Uses
base_model = "anthropic/claude-opus-5"to inherit provider-agnostic metadata (context 1,000,000 / output 128,000 tokens, modalitiestext, image, pdfinput /textoutput,temperature = false, reasoning options), matching the shape already used forduo-chat-sonnet-5andduo-chat-fable-5. Only overrides:name— GitLab's "Agentic Chat (...)" brandingreasoning_options— trimmed to theeffortvariant (notoggle), matching Opus 5's base reasoning options[cost]— zeroed out (billed upstream via the GitLab AI Gateway proxy)Source:
ai_gateway/model_selection/models.ymlingitlab-org/modelops/applied-ml/code-suggestions/ai-assist—claude_opus_5entry (proxy_provider: anthropic,params.model: claude-opus-5).Companion change:
vglafirov/gitlab-ai-provider!33adds theduo-chat-opus-5/duo-workflow-opus-5mappings in the provider itself.Verification
bun validatepasses and confirmsduo-chat-opus-5is present in the generated model registry, correctly inheriting all fields fromanthropic/claude-opus-5.