mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## What changed Expose `Client::statsig_bootstrap` and `StatsigBootstrapContext` so callers can fetch server-evaluated Statsig values using the client's existing authentication. The client posts the targeting context to the bootstrap endpoint for its configured API and returns the `statsigPayload` string. ## Testing Add a mock-server test that checks the ChatGPT route, bearer token, account header, and JSON request body, and verifies that the client returns the payload string from the response. GitOrigin-RevId: 0bbe812ee036c5bf744f9e07d01b70e9c241cce3