mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-06 08:06:50 +00:00
Merge pull request #6665 from ssharkkky/fix/grok-cross-client-map-default-doc
fix(settings): describe Grok cross-client mapping default as enabled
This commit is contained in:
3 files changed
+4
-3
No files matched your search
@@ -192,7 +192,8 @@ func (s *SettingService) InitializeDefaultSettings(ctx context.Context) error {
|
||||
SettingKeyChannelMonitorHideThroughput: "true",
|
||||
SettingKeyChannelMonitorShowQuota: "false",
|
||||
|
||||
// Grok: safe defaults — no cross-vendor model rewrite unless operators enable it.
|
||||
// Grok compatibility defaults: cross-client mapping stays enabled unless
|
||||
// operators explicitly disable it.
|
||||
SettingKeyGrokDefaultTextModel: "grok-4.6",
|
||||
SettingKeyGrokCrossClientModelMapEnabled: "true",
|
||||
SettingKeyGrokDefaultBaseURLMode: GrokDefaultBaseURLModeCLI,
|
||||
|
||||
@@ -465,7 +465,7 @@ export default {
|
||||
grokDefaultTextModel: 'Default Grok text model',
|
||||
grokDefaultTextModelHint: 'Used for empty model values and, only when the switch is enabled, requests from other client model namespaces. Custom Grok model IDs are accepted.',
|
||||
grokCrossClientMap: 'Map other clients to Grok',
|
||||
grokCrossClientMapHint: 'Disabled by default. When enabled, GPT, Codex, o-series, and Claude model IDs are routed to the default Grok text model above.',
|
||||
grokCrossClientMapHint: 'Enabled by default for client compatibility. GPT, Codex, o-series, and Claude model IDs are routed to the default Grok text model above. Disable this to require Grok model IDs.',
|
||||
grokDefaultBaseURLMode: 'Default Grok upstream',
|
||||
grokDefaultBaseURLModeHint: 'Used only when a Grok account has no explicit base URL. Media and voice endpoints continue to use their official API hosts.',
|
||||
grokBaseURLModeCLI: 'CLI chat proxy',
|
||||
|
||||
@@ -458,7 +458,7 @@ export default {
|
||||
grokDefaultTextModel: '默认 Grok 文本模型',
|
||||
grokDefaultTextModelHint: '用于空模型值;仅在右侧开关开启时也用于其他客户端模型命名空间。允许填写自定义 Grok 模型 ID。',
|
||||
grokCrossClientMap: '映射其他客户端模型到 Grok',
|
||||
grokCrossClientMapHint: '默认关闭。开启后,GPT、Codex、o 系列和 Claude 模型 ID 会路由到左侧默认 Grok 文本模型。',
|
||||
grokCrossClientMapHint: '为兼容客户端,默认开启。GPT、Codex、o 系列和 Claude 模型 ID 会路由到左侧默认 Grok 文本模型;关闭后必须使用 Grok 模型 ID。',
|
||||
grokDefaultBaseURLMode: '默认 Grok 上游',
|
||||
grokDefaultBaseURLModeHint: '仅用于 Grok 账号未配置显式 base URL 的文本请求;媒体和语音仍使用官方 API 主机。',
|
||||
grokBaseURLModeCLI: 'CLI 聊天代理',
|
||||
|
||||
Reference in new issue
Block a user