docs: clarify grok public route scope

This commit is contained in:
Heatherm Huang
2026-06-26 10:37:37 +08:00
parent 8a87a658ad
commit 2a80495880
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -589,9 +589,9 @@ Sub2API supports Grok subscription accounts through xAI OAuth and forwards OpenA
- Platform name: `grok`
- Account type: OAuth subscription accounts
- Gateway target: `${XAI_BASE_URL:-https://api.x.ai/v1}/responses`
- Public gateway target: `/v1/responses` and `/responses`, forwarded to `${XAI_BASE_URL:-https://api.x.ai/v1}/responses`
- Initial models: `grok-4.3`, `grok-build-0.1`, `grok-4.20-0309-reasoning`, `grok-4.20-0309-non-reasoning`, and `grok-4.20-multi-agent-0309`
- Out of scope for this provider: image, video, TTS, transcription, browser automation, cookies, and Grok web scraping
- Out of scope for this provider: public Grok Chat Completions routes, image, video, TTS, transcription, browser automation, cookies, and Grok web scraping
### OAuth Configuration
+1 -1
View File
@@ -3852,7 +3852,7 @@ export default {
missingExchangeParams: 'Missing authorization code, state, or OAuth session',
failedToExchangeCode: 'Failed to exchange Grok authorization code',
failedToValidateRT: 'Failed to validate Grok refresh token',
oauthOnlyHint: 'Initial Grok support is OAuth subscription-backed text and reasoning traffic only.'
oauthOnlyHint: 'Initial Grok support is OAuth subscription-backed Responses API text and reasoning traffic only.'
},
// Gemini specific
gemini: {
+1 -1
View File
@@ -4006,7 +4006,7 @@ export default {
missingExchangeParams: '缺少授权码、state 或 OAuth 会话',
failedToExchangeCode: 'Grok 授权码兑换失败',
failedToValidateRT: '验证 Grok refresh token 失败',
oauthOnlyHint: '首版 Grok 支持仅包含 OAuth 订阅文本/推理转发。'
oauthOnlyHint: '首版 Grok 支持仅包含 OAuth 订阅的 Responses API 文本/推理转发。'
},
// Gemini specific
gemini: {