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

@@ -118,6 +118,7 @@ async fn responses_stream_includes_subagent_header_on_review() {
effort,
summary.unwrap_or(model_info.default_reasoning_summary),
None,
None,
)
.await
.expect("stream failed");
@@ -230,6 +231,7 @@ async fn responses_stream_includes_subagent_header_on_other() {
effort,
summary.unwrap_or(model_info.default_reasoning_summary),
None,
None,
)
.await
.expect("stream failed");
@@ -341,6 +343,7 @@ async fn responses_respects_model_info_overrides_from_config() {
effort,
summary.unwrap_or(model_info.default_reasoning_summary),
None,
None,
)
.await
.expect("stream failed");