Skip to content

tip: stop empty unknown provider response loop (origin #51290) #88

Description

@kvnloo

Origin

Upstream tip (not touched): anomalyco#51290
Closes upstream context: anomalyco#32366

What

Empty provider responses with finish reason unknown must error and idle the session instead of spinning forever.

Proof plan

fail→pass: bun test --timeout 30000 test/cli/run/run-process.test.ts -t "empty unknown" in packages/opencode.

Policy

github_writes_origin=0 — fork only. Codex promote parked.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions