Using gitlab duo model opus 4.5 #6707

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

Originally created by @raflyazf on GitHub (Jan 18, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Got error this when agent edit files .

Image

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @raflyazf on GitHub (Jan 18, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Got error this when agent edit files . <img width="539" height="221" alt="Image" src="https://github.com/user-attachments/assets/63b94e58-54c1-46df-a1e5-87d1dfcc182b" /> ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:05:00 -05:00
yindo closed this issue 2026-02-16 18:05:00 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 18, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8655: Gitlab duo provider is not working with Self Hosted instances (authentication issues with GitLab Duo)
  • #8367: GitLab Duo /models selection still responds as Claude 3.5 Sonnet (model mapping issues)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 18, 2026): This issue might be a duplicate of existing issues. Please check: - #8655: Gitlab duo provider is not working with Self Hosted instances (authentication issues with GitLab Duo) - #8367: GitLab Duo /models selection still responds as Claude 3.5 Sonnet (model mapping issues) Feel free to ignore if none of these address your specific case.
Author
Owner

@vglafirov commented on GitHub (Jan 18, 2026):

I saw that as well, not sure if it's related to Gitlab Duo, though. This issue occurs only with Opus and only with large files that it attempts to write. This is related to how Opus works with tools.

@vglafirov commented on GitHub (Jan 18, 2026): I saw that as well, not sure if it's related to Gitlab Duo, though. This issue occurs only with Opus and only with large files that it attempts to write. This is related to how Opus works with tools.
Author
Owner

@raflyazf commented on GitHub (Jan 18, 2026):

I saw that as well, not sure if it's related to Gitlab Duo, though. This issue occurs only with Opus and only with large files that it attempts to write. This is related to how Opus works with tools.

Any tips or workaround for this? Really annoyed when it comes to write large files most likely come with this error.

When I switched to other opus 4.5 model (copilot) , it went well without got error like this.

@raflyazf commented on GitHub (Jan 18, 2026): > I saw that as well, not sure if it's related to Gitlab Duo, though. This issue occurs only with Opus and only with large files that it attempts to write. This is related to how Opus works with tools. Any tips or workaround for this? Really annoyed when it comes to write large files most likely come with this error. When I switched to other opus 4.5 model (copilot) , it went well without got error like this.
Author
Owner

@vglafirov commented on GitHub (Jan 18, 2026):

Actually. I think I am wrong; these tools are from the provider. Let me investigate. They should not be there

@vglafirov commented on GitHub (Jan 18, 2026): Actually. I think I am wrong; these tools are from the provider. Let me investigate. They should not be there
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6707