Fix Gemini flex PayGo header and add OpenAI GPT-5-nano/GPT-5.4 flex routers (#5511)
Some checks are pending
Run tests and pre-commit / Frontend Lint and Build (push) Waiting to run
Run tests and pre-commit / Run tests and pre-commit hooks (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run

This commit is contained in:
Shuchang Zheng 2026-04-15 13:34:54 -07:00 committed by GitHub
parent 0e72bdabd7
commit f7f9cf96b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 76 additions and 7 deletions

View file

@ -63,6 +63,7 @@ export const ProxyLocation = {
ResidentialNL: "RESIDENTIAL_NL",
ResidentialPH: "RESIDENTIAL_PH",
ResidentialKR: "RESIDENTIAL_KR",
ResidentialSA: "RESIDENTIAL_SA",
ResidentialISP: "RESIDENTIAL_ISP",
None: "NONE",
} as const;

View file

@ -19,6 +19,7 @@ export const SUPPORTED_COUNTRY_CODES = [
"NZ",
"PH",
"KR",
"SA",
"TR",
"ZA",
] as const;
@ -44,6 +45,7 @@ export const COUNTRY_NAMES: Record<SupportedCountryCode, string> = {
NZ: "New Zealand",
PH: "Philippines",
KR: "South Korea",
SA: "Saudi Arabia",
TR: "Turkey",
ZA: "South Africa",
};
@ -67,6 +69,7 @@ export const COUNTRY_FLAGS: Record<SupportedCountryCode, string> = {
NZ: "🇳🇿",
PH: "🇵🇭",
KR: "🇰🇷",
SA: "🇸🇦",
TR: "🇹🇷",
ZA: "🇿🇦",
};
@ -92,6 +95,7 @@ const PROXY_LOCATION_TO_COUNTRY: Record<string, string> = {
[ProxyLocation.ResidentialNZ]: "NZ",
[ProxyLocation.ResidentialPH]: "PH",
[ProxyLocation.ResidentialKR]: "KR",
[ProxyLocation.ResidentialSA]: "SA",
[ProxyLocation.ResidentialTR]: "TR",
[ProxyLocation.ResidentialZA]: "ZA",
};
@ -116,6 +120,7 @@ const COUNTRY_TO_PROXY_LOCATION: Record<string, ProxyLocation> = {
NZ: ProxyLocation.ResidentialNZ,
PH: ProxyLocation.ResidentialPH,
KR: ProxyLocation.ResidentialKR,
SA: ProxyLocation.ResidentialSA,
TR: ProxyLocation.ResidentialTR,
ZA: ProxyLocation.ResidentialZA,
};