add fast mode toggle (#13212)

- add a local Fast mode setting in codex-core (similar to how model id
is currently stored on disk locally)
- send `service_tier=priority` on requests when Fast is enabled
- add `/fast` in the TUI and persist it locally
- feature flag
This commit is contained in:
pash-openai
2026-03-02 20:29:33 -08:00
committed by GitHub
parent 56cc2c71f4
commit 2f5b01abd6
69 changed files with 929 additions and 127 deletions

View File

@@ -349,6 +349,9 @@
"experimental_windows_sandbox": {
"type": "boolean"
},
"fast_mode": {
"type": "boolean"
},
"include_apply_patch_tool": {
"type": "boolean"
},
@@ -505,6 +508,9 @@
"sandbox_mode": {
"$ref": "#/definitions/SandboxMode"
},
"service_tier": {
"$ref": "#/definitions/ServiceTier"
},
"tools_view_image": {
"type": "boolean"
},
@@ -1321,6 +1327,23 @@
},
"type": "object"
},
"ServiceTier": {
"oneOf": [
{
"enum": [
"fast"
],
"type": "string"
},
{
"description": "Legacy compatibility value for older local config files.",
"enum": [
"standard"
],
"type": "string"
}
]
},
"ShellEnvironmentPolicyInherit": {
"oneOf": [
{
@@ -1724,6 +1747,9 @@
"experimental_windows_sandbox": {
"type": "boolean"
},
"fast_mode": {
"type": "boolean"
},
"include_apply_patch_tool": {
"type": "boolean"
},
@@ -2112,6 +2138,14 @@
],
"description": "Sandbox configuration to apply if `sandbox` is `WorkspaceWrite`."
},
"service_tier": {
"allOf": [
{
"$ref": "#/definitions/ServiceTier"
}
],
"description": "Optional explicit service tier preference for new turns."
},
"shell_environment_policy": {
"allOf": [
{