[PR #12473] fix(provider): bump @gitlab/gitlab-ai-provider to 3.4.1 #14233

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

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

State: closed
Merged: No


Summary

  • Bumps @gitlab/gitlab-ai-provider from 3.4.0 to 3.4.1
  • Fixes incorrect TOKEN_REFRESH_NEEDED error being thrown for context overflow (400 prompt too long) errors

Problem

When a session exceeds the model's context limit, the GitLab provider was throwing TOKEN_REFRESH_NEEDED instead of reporting the actual error. This caused users to spend time debugging authentication issues when the real problem was context overflow.

Solution

Version 3.4.1 of @gitlab/gitlab-ai-provider correctly surfaces the actual error message instead of misclassifying non-401 errors as token issues.

Closes https://github.com/anomalyco/opencode/issues/12135

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12473 **State:** closed **Merged:** No --- ## Summary - Bumps `@gitlab/gitlab-ai-provider` from 3.4.0 to 3.4.1 - Fixes incorrect `TOKEN_REFRESH_NEEDED` error being thrown for context overflow (400 prompt too long) errors ## Problem When a session exceeds the model's context limit, the GitLab provider was throwing `TOKEN_REFRESH_NEEDED` instead of reporting the actual error. This caused users to spend time debugging authentication issues when the real problem was context overflow. ## Solution Version 3.4.1 of `@gitlab/gitlab-ai-provider` correctly surfaces the actual error message instead of misclassifying non-401 errors as token issues. Closes https://github.com/anomalyco/opencode/issues/12135
yindo added the pull-request label 2026-02-16 18:19:02 -05:00
yindo closed this issue 2026-02-16 18:19:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14233