mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-22 06:40:21 +08:00
docs: clarify grok public route scope
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user