feat(openai): 支持用户级 Fast/Flex 策略

This commit is contained in:
Lyonle
2026-07-10 15:16:09 +08:00
parent 9a2f11b4e2
commit f2966530c5
15 changed files with 482 additions and 17 deletions
+1
View File
@@ -1275,6 +1275,7 @@ export interface OpenAIFastPolicyRule {
service_tier: "all" | "priority" | "flex";
action: "pass" | "filter" | "block" | "force_priority";
scope: "all" | "oauth" | "apikey" | "bedrock";
user_ids?: number[];
error_message?: string;
model_whitelist?: string[];
fallback_action?: "pass" | "filter" | "block" | "force_priority";