feat(codex): support ultrafast service tier

Accept service_tier=ultrafast on the OpenAI/Codex gateway, advertise it
on GPT-5.6 Sol in the Codex model catalog, and include it in ChatGPT
OAuth routing hints so Codex clients can select Ultrafast.
This commit is contained in:
刘佳林 committed 2026-09-04 10:14:29 +08:00
1 parent b1748c4ea9
commit 126ac24c8c
28 files changed
+149 -49

No files matched your search

+1 -1
View File
@@ -1429,7 +1429,7 @@ export async function updateRectifierSettings(
* Matches backend dto.OpenAIFastPolicyRule.
*/
export interface OpenAIFastPolicyRule {
service_tier: "all" | "priority" | "flex";
service_tier: "all" | "priority" | "flex" | "ultrafast";
action: "pass" | "filter" | "block" | "force_priority";
scope: "all" | "oauth" | "apikey" | "bedrock";
user_ids?: number[];