Skip to content

[Bug]: GIT Text generation failed in generateCommitMessage. When Codex not installed. #5182

Description

@Tommixoft

Before submitting

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

Area

apps/desktop

Steps to reproduce

Just click on git button to commit, or push..it will show error

Text generation failed in generateCommitMessage: Failed to spawn Codex CLI process

I dont use codex, i only use Claude code.

Expected behavior

Should work with selected AI model or should have setting that no need automatic text generation.

Actual behavior

Error message appears and operation halfway dies with error text:
Text generation failed in generateCommitMessage: Failed to spawn Codex CLI process

Impact

Major degradation or frequent failure

Version or commit

0.0.31

Environment

Windows

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    needs-triageIssue needs maintainer review and initial categorization.
    on Aug 1, 2026
  2. Tommixoft commented on Aug 1, 2026

    @Tommixoft
    Author

    Sorry there is setting allowing to choose writer model. Not very clear but is, dont know why codex is default when there is no codex installed.

  3. itswil commented on Aug 13, 2026

    @itswil

    I also had this issue as I exclusively use OpenCode. To resolve this:

    Go to Settings
    Click Source Control
    Under "Text generation", find "Source control writer model"
    Toggle On and select a model available to you

  4. KRIMOD commented on Aug 29, 2026

    @KRIMOD

    to add some context - opencode user here, for some reason it only discover models available locally from where the server is run, i had to activate opencode on my machine to see the available models listed on "Source control writer model", even though I am running it remotely.

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

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