xai - grok errors out when selected from the /models dropdown #4274

Closed
opened 2026-02-16 17:43:15 -05:00 by yindo · 3 comments
Owner

Originally created by @travman1900 on GitHub (Jan 5, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

I added my xai api via the /connect

When i go /model and select any of the grok model its fails

Plugins

No response

OpenCode version

latest

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Omarchy

Terminal

ghostty

Originally created by @travman1900 on GitHub (Jan 5, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description I added my xai api via the /connect When i go /model and select any of the grok model its fails ### Plugins _No response_ ### OpenCode version latest ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System Omarchy ### Terminal ghostty
yindo added the bug label 2026-02-16 17:43:15 -05:00
yindo closed this issue 2026-02-16 17:43:15 -05:00
Author
Owner

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

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

  • #5759: AI_TypeValidationError on Grok Fast 1 (Opencode Zen mode) - Similar type validation error with Grok models
  • #4987: x-ai/grok-4.1-fast model availability - Feature request for additional Grok models
  • #4313: Edit Tool issues with Grok Code Fast 1 - Issues with Grok model error handling
  • #3766: Timeout error when using Grok in Zen - Related Grok timeout/error issues
  • #1298: Getting an issue integrating a custom provider: AI_TypeValidationError - Similar type validation errors when selecting models

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

@github-actions[bot] commented on GitHub (Jan 5, 2026): This issue might be a duplicate of existing issues. Please check: - #5759: AI_TypeValidationError on Grok Fast 1 (Opencode Zen mode) - Similar type validation error with Grok models - #4987: x-ai/grok-4.1-fast model availability - Feature request for additional Grok models - #4313: Edit Tool issues with Grok Code Fast 1 - Issues with Grok model error handling - #3766: Timeout error when using Grok in Zen - Related Grok timeout/error issues - #1298: Getting an issue integrating a custom provider: AI_TypeValidationError - Similar type validation errors when selecting models Feel free to ignore if none of these address your specific case.
Author
Owner

@travman1900 commented on GitHub (Jan 5, 2026):

I amy have found my issue - I will update in a minute.

@travman1900 commented on GitHub (Jan 5, 2026): I amy have found my issue - I will update in a minute.
Author
Owner

@travman1900 commented on GitHub (Jan 5, 2026):

Im new to linux and the package manager install was old - manually used curl to get latest 1.1.x and issues appears resolved.

@travman1900 commented on GitHub (Jan 5, 2026): Im new to linux and the package manager install was old - manually used curl to get latest 1.1.x and issues appears resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4274