mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Add turn-scoped settings updates to the app server (#40656)
## What changed - Add the experimental `turn/settings/update` method for changing `model`, `effort`, `summary`, and `serviceTier` on a specific live turn without changing future turns. - Report whether the update was applied or the target turn was unavailable, and reject unsupported fields, disabled feature use, unsafe model changes, and direct updates to parent-owned subagents. - Document the method's feature requirements, null handling, and limits. ## Testing - Cover current-turn and future-turn isolation, rejected and unavailable targets, feature and capability gates, saved threads, and subagent ownership. GitOrigin-RevId: 18440f6d7ee5fcd06ae23bd41b22c492b62bb2b5
This commit is contained in:
1 parent
a10c8127f7
commit
9695e71519
13 files changed
+626
-10
No files matched your search
@@ -973,6 +973,12 @@ client_request_definitions! {
|
||||
serialization: thread_id(params.thread_id),
|
||||
response: v2::TurnStartResponse,
|
||||
},
|
||||
#[experimental("turn/settings/update")]
|
||||
TurnSettingsUpdate => "turn/settings/update" {
|
||||
params: v2::TurnSettingsUpdateParams,
|
||||
serialization: thread_id(params.thread_id),
|
||||
response: v2::TurnSettingsUpdateResponse,
|
||||
},
|
||||
TurnSteer => "turn/steer" {
|
||||
params: v2::TurnSteerParams,
|
||||
inspect_params: true,
|
||||
|
||||
Reference in new issue
Block a user