Skip to content

chore: bump gitlab-ai-provider to 5.3.1 for GPT-5.4 model support#18849

Merged
rekram1-node merged 1 commit intoanomalyco:devfrom
vglafirov:chore/bump-gitlab-ai-provider-5.3.1
Mar 24, 2026
Merged

chore: bump gitlab-ai-provider to 5.3.1 for GPT-5.4 model support#18849
rekram1-node merged 1 commit intoanomalyco:devfrom
vglafirov:chore/bump-gitlab-ai-provider-5.3.1

Conversation

@vglafirov
Copy link
Copy Markdown
Contributor

@vglafirov vglafirov commented Mar 23, 2026

Issue for this PR

Closes #18850

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Bumps gitlab-ai-provider from 5.2.2 to 5.3.1. Version 5.3.1 adds three new OpenAI GPT-5.4 proxy models to MODEL_MAPPINGS:

Model ID Underlying Model
duo-chat-gpt-5-4 gpt-5.4-2026-03-05
duo-chat-gpt-5-4-mini gpt-5.4-mini
duo-chat-gpt-5-4-nano gpt-5.4-nano

These models are defined in the ai-gateway models.yml with proxy_provider: openai and were missing from the provider SDK.

This also requires the companion models.dev PR which adds the model definitions to the gitlab provider and fixes the npm field from the stale scoped @gitlab/gitlab-ai-provider (v4.1.0) to the current gitlab-ai-provider — without that fix, opencode's getSDK falls through the bundled provider check and dynamically installs the old package.

How did you verify your code works?

  • Ran bun typecheck — passes
  • Ran opencode with OPENCODE_MODELS_PATH pointing to a regenerated models.json containing the new gitlab models and confirmed the GPT-5.4 models load and work without the Unknown model ID error

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions bot added contributor needs:issue needs:compliance This means the issue will auto-close after 2 hours. labels Mar 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found.

The searches returned PR #18849 (the current PR) and two historical PRs from 2024 related to initial GPT-5.4 support (#16503, #16233), but these are unrelated dependency bump PRs, not duplicates of the current bump to version 5.3.1.

@github-actions github-actions bot removed needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Mar 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@rekram1-node rekram1-node merged commit f134047 into anomalyco:dev Mar 24, 2026
14 checks passed
dzianisv pushed a commit to dzianisv/opencode that referenced this pull request Mar 26, 2026
dzianisv pushed a commit to dzianisv/opencode that referenced this pull request Apr 2, 2026
dzianisv pushed a commit to dzianisv/opencode that referenced this pull request Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump gitlab-ai-provider to 5.3.1 for GPT-5.4 model support

2 participants