Skip to content

Add a turn-scoped service tier override - #40616

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4c2c4db21d8d31617a7a6e6df65bf54834e72383
Aug 25, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4c2c4db21d8d31617a7a6e6df65bf54834e72383

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

Add a turn-scoped service tier override

What changed

  • Add serviceTierForTurn to turn/start so a newly started turn can override the service tier without changing the thread's saved tier.
  • Treat "default" as standard speed and omitted or null values as inheriting the thread tier.
  • Keep serviceTier authoritative for subsequent turns when both fields are supplied, and ignore the turn-scoped override when steering an active turn.

Testing

  • Extend the app-server turn-start test to verify both the one-turn "default" override and inheritance on the following turn.

## What changed

- Add `serviceTierForTurn` to `turn/start` so a newly started turn can override the service tier without changing the thread's saved tier.
- Treat `"default"` as standard speed and omitted or `null` values as inheriting the thread tier.
- Keep `serviceTier` authoritative for subsequent turns when both fields are supplied, and ignore the turn-scoped override when steering an active turn.

## Testing

- Extend the app-server turn-start test to verify both the one-turn `"default"` override and inheritance on the following turn.

GitOrigin-RevId: 4c2c4db21d8d31617a7a6e6df65bf54834e72383
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/4c2c4db21d8d31617a7a6e6df65bf54834e72383 branch from d216724 to ed42068 Compare August 25, 2026 14:05
@copyberry
copyberry Bot merged commit ed42068 into main Aug 25, 2026
20 of 26 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/4c2c4db21d8d31617a7a6e6df65bf54834e72383 branch August 25, 2026 14:06
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 25, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — ed42068c Deployed Aug 25, 2026 by darkerbg via Translate non-English issue #9405
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants