People of http://pi.dev. pi has supported OpenAI WebSockets mode since February. However, we did not support delta updates.
pi v0.71.1 now also supports delta updates: only the latest context additions get send, leading to a nice 66% throughput increase.
Start pi, /settings -> transport -> websocket-cached
Here's SSE vs. cached WebSocket side by side.
This will also apply to your OpenClaw instance, should @steipete & team decide to update to the latest and greatest, giving you all the benefits of the pi runtime on top of the Codex server backend.
OpenAI Developers@OpenAIDevs⚙️ We made agent loops faster with WebSockets in the Responses API As Codex got faster, the bottleneck moved from inference to inefficient API calls WebSockets keep response state warm across tool calls, helping workflows run up to 40% faster end to end https://openai.com/index/speeding-up-agentic-workflows-with-websockets

