Skip to content

Chatgpt Codex errors #7374

@chiragsanghavi

Description

@chiragsanghavi

While trying to use chatgpt codex with Goose, it errors out when a transaction is long running as Chatgpt Codex sends a keepalive. This keepalive fails in Goose.

Diagnostic Log is attached.

diagnostics_20260220_1.zip

From what it appears is that Goose fails to translate keep alive stream.

--~

To Reproduce
Steps to reproduce the behavior:

  1. Configure goose to communicate with chatgpt
  2. start goose cli
  3. Give it a complex prompt
  4. See error

Expected behavior
handle keep alive.


Screenshots
20260219_183016.log:{"timestamp":"2026-02-19T23:32:03.889154Z","level":"ERROR","fields":{"message":"Error: Request failed: Stream decode error: Failed to parse Responses stream event: unknown variant keepalive, expected one of response.created, response.in_progress, response.output_item.added, response.content_part.added, response.output_text.delta, response.output_item.done, response.content_part.done, response.output_text.done, response.completed, response.failed, response.function_call_arguments.delta, response.function_call_arguments.done, error at line 1 column 19: "{\"type\":\"keepalive\",\"sequence_number\":3}""},"target":"goose::agents::agent","span":{"name":"reply_stream"},"spans":[{"name":"reply_stream"}]}


Please provide the following information

  • OS & Arch: WSL
  • Interface: CLI
  • Version: [v1.25.0]
  • Extensions enabled: Extension Manager, apps, developer, memory, summon, todo,tutorial
  • Provider & Model: Chatgpt_codex , gpt-5.2

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions