mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-21 06:12:17 +03:00
feat(providers): wire chatgpt-session into the dashboard and validation
This commit is contained in:
@@ -329,6 +329,7 @@ const LOBE_PROVIDER_ALIASES = {
|
||||
"black-forest-labs": "Bfl",
|
||||
cerebras: "Cerebras",
|
||||
"chatgpt-web-codex": "OpenAI",
|
||||
"chatgpt-session": "OpenAI",
|
||||
claude: "ClaudeCode",
|
||||
"claude-web": "Claude",
|
||||
cline: "Cline",
|
||||
|
||||
@@ -18,6 +18,21 @@ export const WEB_COOKIE_PROVIDERS = {
|
||||
riskNoticeVariant: "webCookie",
|
||||
toolCalling: "native",
|
||||
},
|
||||
"chatgpt-session": {
|
||||
id: "chatgpt-session",
|
||||
serviceKinds: ["llm"],
|
||||
alias: "cgpt-session",
|
||||
name: "ChatGPT Web (Session)",
|
||||
icon: "chat",
|
||||
color: "#10A37F",
|
||||
textIcon: "CS",
|
||||
website: "https://chatgpt.com",
|
||||
authHint:
|
||||
"Paste the full ChatGPT Cookie header. OmniRoute verifies it in an isolated browser profile and then stores only the verified session state.",
|
||||
subscriptionRisk: true,
|
||||
riskNoticeVariant: "webCookie",
|
||||
toolCalling: "emulated",
|
||||
},
|
||||
"grok-web": {
|
||||
id: "grok-web",
|
||||
serviceKinds: ["llm"],
|
||||
|
||||
@@ -35,6 +35,13 @@ export const WEB_SESSION_CREDENTIAL_REQUIREMENTS = {
|
||||
acceptsFullCookieHeader: true,
|
||||
storageKeys: ["cookie", "sessionToken", "session-token", "__Secure-next-auth.session-token"],
|
||||
},
|
||||
"chatgpt-session": {
|
||||
kind: "cookie",
|
||||
credentialName: "ChatGPT Cookie header (full)",
|
||||
placeholder: "__Secure-next-auth.session-token=...; cf_clearance=...",
|
||||
acceptsFullCookieHeader: true,
|
||||
storageKeys: ["cookie", "sessionToken", "session-token", "__Secure-next-auth.session-token"],
|
||||
},
|
||||
"zenmux-free": {
|
||||
kind: "cookie",
|
||||
credentialName: "Cookie header (full)",
|
||||
|
||||
Reference in New Issue
Block a user