`Failed to parse JSON result` endless loop

Resolved 💬 3 comments Opened May 5, 2025 by rivershah Closed Aug 7, 2025

What version of Codex is running?

0.1.2504301751

Which model were you using?

gemini-2.5-pro-exp-03-25

What platform is your computer?

_No response_

What steps can reproduce the bug?

codex --provider gemini
╭──────────────────────────────────────────────────────────────╮
│ ● OpenAI Codex (research preview) v0.1.2504301751            │
╰──────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────╮
│ localhost session: 703cecc26a0548bda6990d6da3f1f773          │
│ ↳ workdir: /workspaces/atlas                                 │
│ ↳ model: gemini-2.5-pro-exp-03-25                            │
│ ↳ provider: gemini                                           │
│ ↳ approval: suggest                                          │
╰──────────────────────────────────────────────────────────────╯
user
in the 10th line in the file .gitignore add .idea

    command

    $ cat .gitignore

    command.stdout (code: 0, duration: 0s)

    # Byte-compiled / optimized / DLL files
    __pycache__/
    *.py[cod]
    *$py.class
    ... (170 more lines)

    command

    $

    command.stdout (code: 1, duration: 0s)

    Failed to parse JSON result

    command

    $

    command.stdout (code: 1, duration: 0s)

    Failed to parse JSON result

    command

    $

    command.stdout (code: 1, duration: 0s)

    Failed to parse JSON result

    command

    $

    command.stdout (code: 1, duration: 0s)

    Failed to parse JSON result

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗