Files
9router/open-sse/providers/registry/grok-web.js
decolua bb9e9aa91f refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup
- Single-source registry: oauth clientId/tokenUrl, usage URLs, image/embed
  configs, search defaultModel, codex fixedPort, google token url derive.
- Remove 29 unused OmniRoute providers (registry 100→71); media intact.
- De-adhoc: codex literals → registry format/oauth flags; reasoningInject,
  image/embed openrouter headers + xai bodyFields config-driven.
- Add REGISTRY_TEMPLATE.js + expand PROVIDER_DEFAULTS/schema JSDoc.
- Baselines updated; PROVIDERS 62 + alias 90 byte-for-byte, golden snapshots.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 13:15:48 +07:00

74 lines
1.4 KiB
JavaScript

export default {
"id": "grok-web",
"alias": "grok-web",
display: {
"name": "Grok Web (Subscription)",
"icon": "auto_awesome",
"color": "#1DA1F2",
"textIcon": "GW",
"website": "https://grok.com"
},
category: "webCookie",
uiAlias: "gw",
authType: "cookie",
authHint: "Paste your sso= cookie value from grok.com",
passthroughModels: true,
aliases: ["gw"],
"transport": {
"baseUrl": "https://grok.com/rest/app-chat/conversations/new",
"format": "grok-web",
"authType": "cookie"
},
"models": [
{
"id": "grok-3",
"name": "Grok 3"
},
{
"id": "grok-3-mini",
"name": "Grok 3 Mini (Thinking)"
},
{
"id": "grok-3-thinking",
"name": "Grok 3 Thinking"
},
{
"id": "grok-4",
"name": "Grok 4"
},
{
"id": "grok-4-mini",
"name": "Grok 4 Mini (Thinking)"
},
{
"id": "grok-4-thinking",
"name": "Grok 4 Thinking"
},
{
"id": "grok-4-heavy",
"name": "Grok 4 Heavy (SuperGrok)"
},
{
"id": "grok-4.1-mini",
"name": "Grok 4.1 Mini (Thinking)"
},
{
"id": "grok-4.1-fast",
"name": "Grok 4.1 Fast"
},
{
"id": "grok-4.1-expert",
"name": "Grok 4.1 Expert"
},
{
"id": "grok-4.1-thinking",
"name": "Grok 4.1 Thinking"
},
{
"id": "grok-4.2",
"name": "Grok 4.2 (4.20 Beta)"
}
]
};