Skip to content

Unsupported variants for grok-code #7813

Closed

Description

@bo-tato

Description

Some models like minimax don't have any variants specified by default, so ctrl+t does nothing.
The default opencode grok code fast 1 model does contain variants for different thinking levels that ctrl+t will cycle between, but will result in the error Bad Request: Model grok-code does not support parameter reasoningEffort.

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

Activity

  1. github-actions commented on Jan 11, 2026

    @github-actions
    Contributor

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

    These issues address the broader challenge of properly handling model variants and reasoning efforts across different contexts. Your specific case with grok-code and minimax models lacking variant support appears to be part of the larger model variant system being improved.

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

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

  2. bo-tato commented on Jan 11, 2026

    @bo-tato
    ContributorAuthor

    The issue isn't that grok-code lacks variant support. The issue is the default model configuration for grok-code contains variants that aren't actually supported and give errors if you select them.

  3. chindris-mihai-alexandru commented on Jan 18, 2026

    @chindris-mihai-alexandru

    This also occurs on the first message (not just after the Ctrl+T variant cycles) on v1.1.25:

    the Grok API returns {"code":"Client specified an invalid argument","error":"Invalid arguments passed to the model."} which then causes a secondary AI_TypeValidationError because the error format is a string instead of the expected object schema.

  4. rekram1-node commented on Jan 18, 2026

    @rekram1-node
    Collaborator

    fixed:
    d841e70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions