mirror of
https://github.com/openai/codex.git
synced 2026-09-06 15:29:32 +00:00
## 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
32 lines
751 B
TOML
32 lines
751 B
TOML
[package]
|
|
name = "codex-backend-client"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
http = { workspace = true }
|
|
url = { workspace = true }
|
|
codex-backend-openapi-models = { path = "../codex-backend-openapi-models" }
|
|
codex-api = { workspace = true }
|
|
codex-http-client = { workspace = true }
|
|
codex-login = { workspace = true }
|
|
codex-model-provider = { workspace = true }
|
|
codex-protocol = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "1"
|
|
tokio = { workspace = true, features = ["macros", "rt"] }
|
|
wiremock = { workspace = true }
|