Skip to content

[FEATURE]: Add reasoning variants for GitLab Duo models #47304

Closed

Description

@far-ouq

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

gitlab-ai-provider 6.14.0 supports reasoning effort controls for GitLab-hosted GPT and Claude models, but OpenCode does not currently generate provider options for that package.

OpenCode should expose the efforts declared by models.dev, map GPT efforts to reasoningEffort, and map Claude efforts to adaptive thinking. This would make the variants available without requiring users to duplicate them in opencode.jsonc.

Related metadata: anomalyco/models.dev#6276
Provider support: https://gitlab.com/vglafirov/gitlab-ai-provider/-/merge_requests/36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions