support 'flex' tier in app-server in addition to 'fast' (#13391)

This commit is contained in:
Val Kharitonov
2026-03-03 22:46:05 -08:00
committed by GitHub
parent 7134220f3c
commit 4f6c4bb143
22 changed files with 123 additions and 30 deletions

View File

@@ -180,6 +180,7 @@ Start a fresh thread when you need a new Codex conversation.
"approvalPolicy": "never",
"sandbox": "workspaceWrite",
"personality": "friendly",
"serviceTier": "flex",
"serviceName": "my_app_server_client", // optional metrics tag (`service_name`)
// Experimental: requires opt-in
"dynamicTools": [
@@ -208,6 +209,7 @@ Start a fresh thread when you need a new Codex conversation.
```
Valid `personality` values are `"friendly"`, `"pragmatic"`, and `"none"`. When `"none"` is selected, the personality placeholder is replaced with an empty string.
Valid `serviceTier` values are `"fast"` and `"flex"`.
To continue a stored session, call `thread/resume` with the `thread.id` you previously recorded. The response shape matches `thread/start`, and no additional notifications are emitted. You can also pass the same configuration overrides supported by `thread/start`, such as `personality`:
@@ -415,6 +417,7 @@ You can optionally specify config overrides on the new turn. If specified, these
"networkAccess": true
},
"model": "gpt-5.1-codex",
"serviceTier": "flex",
"effort": "medium",
"summary": "concise",
"personality": "friendly",