feat(openai-gateway): Codex OAuth 账号浏览器 UA 自动改写规避 Cloudflare

质询
This commit is contained in:
shaw
2026-05-20 14:33:51 +08:00
parent 91da815993
commit 878ad3b569
12 changed files with 188 additions and 0 deletions
+2
View File
@@ -504,6 +504,7 @@ export interface SystemSettings {
enable_anthropic_cache_ttl_1h_injection: boolean;
rewrite_message_cache_control: boolean;
antigravity_user_agent_version: string;
openai_codex_user_agent: string;
web_search_emulation_enabled?: boolean;
// Payment configuration
@@ -724,6 +725,7 @@ export interface UpdateSettingsRequest {
enable_anthropic_cache_ttl_1h_injection?: boolean;
rewrite_message_cache_control?: boolean;
antigravity_user_agent_version?: string;
openai_codex_user_agent?: string;
// Payment configuration
payment_enabled?: boolean;
risk_control_enabled?: boolean;