Skip to content

[Bug]: xAI doesnt work in t3code when used via Opencode #3572

Description

@pantharshit007

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Connect xAI as a provider
  2. Open OC in that directory with a Hi
  3. Then open the same directory in t3code and send a hi there too
  4. You will see it creashes and doesnt work.

Expected behavior

It should work as it does in the opencode CLI.

Actual behavior

Gives an Error and doesn't work even if i open the same session via Terminal, it doesn't respond, but if do /new and try, it works.

Image Image

Impact

Blocks work completely

Version or commit

0.0.27

Environment

ProductName: macOS
ProductVersion: 26.5.1
BuildVersion: 25F80
OpenCode: 1.15.13
node: v24.11.1 
bun: 1.3.3

Screenshots, recordings, or supporting files

No response

Workaround

Just use Opencode directly or try with xAI CLI (haven't tried)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions