Skip to content

Opencode with OpenAI stuck in loop with errors #6983

@W1BTR

Description

@W1BTR

Description

Having a strange error with opencode running OpenAI's codex 5.1. It got stuck in a loop of editing a file a good 20 times with that message. I tried interrupting it and asking if there was an error, and it would just continue trying. Eventually it did complete, but Im not sure what was going on there.

Image

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

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