mirror of
https://github.com/openai/codex.git
synced 2026-11-12 14:41:42 +00:00
Add backend client support for Codex user settings (#34559)
## What changed - Add `Client::get_user_settings` for the active Codex API or ChatGPT backend route. - Send authenticated workspace headers and bypass cached responses when fetching settings. - Expose the effective `commit_attribution_enabled` policy, defaulting it to `false` when older responses omit the field. ## Testing - Cover both backend route styles, cache-control behavior, response decoding, the compatibility default, and authenticated workspace headers. GitOrigin-RevId: 11db485e89293f9fa9c56ac7997922deed8b9427
This commit is contained in:
1 parent
268288ad6d
commit
98c3bbdc79
5 files changed
+131
No files matched your search
@@ -28,3 +28,4 @@ codex-protocol = { workspace = true }
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1"
|
||||
tokio = { workspace = true, features = ["macros", "rt"] }
|
||||
wiremock = { workspace = true }
|
||||
Reference in new issue
Block a user