core-agent-ide/codex-rs/codex-api/src/endpoint
Rasmus Rygaard df000da917
Add a codex.rate_limits event for websockets (#10324)
When communicating over websockets, we can't rely on headers to deliver
rate limit information. This PR adds a `codex.rate_limits` event that
the server can pass to the client to inform them about rate limit usage.
The client parses this data the same way we parse rate limit headers in
HTTP mode.

This PR also wires up the etag and reasoning headers for websockets
2026-02-04 06:01:47 -08:00
..
aggregate.rs chore: nuke chat/completions API (#10157) 2026-02-03 11:31:57 +00:00
compact.rs feat: clean codex-api part 1 (#10501) 2026-02-03 14:08:09 +00:00
mod.rs feat: clean codex-api part 1 (#10501) 2026-02-03 14:08:09 +00:00
models.rs feat: clean codex-api part 1 (#10501) 2026-02-03 14:08:09 +00:00
responses.rs feat: clean codex-api part 1 (#10501) 2026-02-03 14:08:09 +00:00
responses_websocket.rs Add a codex.rate_limits event for websockets (#10324) 2026-02-04 06:01:47 -08:00
session.rs feat: clean codex-api part 1 (#10501) 2026-02-03 14:08:09 +00:00