feat: add support for Grok Web and Perplexity Web providers
This commit is contained in:
@@ -53,6 +53,11 @@ const ALIAS_TO_PROVIDER_ID = {
|
||||
vertex: "vertex",
|
||||
vxp: "vertex-partner",
|
||||
"vertex-partner": "vertex-partner",
|
||||
// Web cookie providers
|
||||
gw: "grok-web",
|
||||
"grok-web": "grok-web",
|
||||
pw: "perplexity-web",
|
||||
"perplexity-web": "perplexity-web",
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -206,7 +206,7 @@ export async function refreshCodexToken(refreshToken, log) {
|
||||
grant_type: "refresh_token",
|
||||
refresh_token: refreshToken,
|
||||
client_id: PROVIDERS.codex.clientId,
|
||||
scope: "openid profile email offline_access",
|
||||
scope: "openid profile email",
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user