zai/glm-4.6 not valid #2858

Closed
opened 2026-02-16 17:37:34 -05:00 by yindo · 6 comments
Owner

Originally created by @dlukt on GitHub (Nov 14, 2025).

Description

Image Image

OpenCode version

1.0.65

Steps to reproduce

  1. opencode auth login
  2. provide z.ai coding plan api key
  3. start opencode
  4. press tab, or don't

Screenshot and/or share link

No response

Operating System

arch

Terminal

gnome-terminal

Originally created by @dlukt on GitHub (Nov 14, 2025). ### Description <img width="960" height="1050" alt="Image" src="https://github.com/user-attachments/assets/ee4c3137-2ab7-4bd1-9bd5-cf81cdfce323" /> <img width="960" height="1050" alt="Image" src="https://github.com/user-attachments/assets/ba9abced-b0a0-45fb-af1c-8e09f2586ff1" /> ### OpenCode version 1.0.65 ### Steps to reproduce 1. opencode auth login 2. provide z.ai coding plan api key 3. start opencode 4. press tab, or don't ### Screenshot and/or share link _No response_ ### Operating System arch ### Terminal gnome-terminal
yindo added the opentuibug labels 2026-02-16 17:37:34 -05:00
yindo closed this issue 2026-02-16 17:37:34 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 14, 2025):

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

  • #2944: Similar zAI GLM-4.6 API parameter error with authentication
  • #3076: Same author's previous ProviderModelNotFoundError with z.ai glm-4.6 (closed)
  • #2898: GLM Coding Plan frequent errors including invalid API parameters

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

@github-actions[bot] commented on GitHub (Nov 14, 2025): This issue might be a duplicate of existing issues. Please check: - #2944: Similar zAI GLM-4.6 API parameter error with authentication - #3076: Same author's previous ProviderModelNotFoundError with z.ai glm-4.6 (closed) - #2898: GLM Coding Plan frequent errors including invalid API parameters Feel free to ignore if none of these address your specific case.
Author
Owner

@OpeOginni commented on GitHub (Nov 14, 2025):

@dlukt Do you have Z.AI or Z.AI Coding Plan setup as a provider?

@OpeOginni commented on GitHub (Nov 14, 2025): @dlukt Do you have `Z.AI` or `Z.AI Coding Plan` setup as a provider?
Author
Owner

@OpeOginni commented on GitHub (Nov 14, 2025):

I was able to replicate the issue.

For your Agent model config use zai-coding-plan/glm-4.6 instead of zai/glm-4.6 since they are both different providers. This fixed it

@OpeOginni commented on GitHub (Nov 14, 2025): I was able to replicate the issue. For your Agent model config use `zai-coding-plan/glm-4.6` instead of `zai/glm-4.6` since they are both different providers. This fixed it
Author
Owner

@dlukt commented on GitHub (Nov 14, 2025):

I have

@dlukt commented on GitHub (Nov 14, 2025): I have
Author
Owner

@dlukt commented on GitHub (Nov 14, 2025):

fuck I accidentally hit the close issue button

@dlukt commented on GitHub (Nov 14, 2025): fuck I accidentally hit the close issue button
Author
Owner

@dlukt commented on GitHub (Nov 14, 2025):

but yeah that fixed it

@dlukt commented on GitHub (Nov 14, 2025): but yeah that fixed it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2858