Skip to content

[Bug]: OpenCode returns "no structured output" error during commit message generation #2199

@imabdulazeez

Description

@imabdulazeez

Before submitting

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

Area

apps/server

Steps to reproduce

  1. Configure T3 Code to use OpenCode as the text generation provider for git operations
  2. Stage some changes in a git repository
  3. Trigger the "Commit" or "Commit and Push" action from the UI
  4. The operation fails with the structured output error

Expected behavior

The commit should successfully complete with a commit message. Tested with Claude Code (Haiku) and this works fine.

Actual behavior

The operation fails with the error: "Text generation failed in generateCommitMessage: OpenCode returned no structured output."

Impact

Major degradation or frequent failure

Version or commit

main @ 9df3c64

Environment

  • macOS 15.6.1 - Bun 1.3.12 - OpenCode CLI 1.14.18 - OpenCode provider configured for text generation

Logs or stack traces

Action failed Error: Text generation failed in generateCommitMessage: OpenCode returned no structured output.

Screenshots, recordings, or supporting files

image.png

Workaround

Switch to Codex or Claude providers for git text generation operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions