-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
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.
From what it appears is that Goose fails to translate keep alive stream.
--~
To Reproduce
Steps to reproduce the behavior:
- Configure goose to communicate with chatgpt
- start goose cli
- Give it a complex prompt
- 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.