Skip to content

Commit 8c81c55

Browse files
committed
fix: update XAI component links to point to the correct documentation
1 parent 27830f2 commit 8c81c55

File tree

1 file changed

+2
-2
lines changed
  • webview-ui/src/components/settings/providers

1 file changed

+2
-2
lines changed

webview-ui/src/components/settings/providers/XAI.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const XAI = ({
111111
{t("settings:providers.apiKeyStorageNotice")}
112112
</div>
113113
{!apiConfiguration?.xaiApiKey && (
114-
<VSCodeButtonLink href="https://api.x.ai/docs" appearance="secondary">
114+
<VSCodeButtonLink href="https://docs.x.ai/docs/models" appearance="secondary">
115115
{t("settings:providers.getXaiApiKey")}
116116
</VSCodeButtonLink>
117117
)}
@@ -148,7 +148,7 @@ export const XAI = ({
148148
models={routerModels?.xai ?? {}}
149149
modelIdKey="apiModelId"
150150
serviceName="xAI (Grok)"
151-
serviceUrl="https://api.x.ai/docs"
151+
serviceUrl="https://docs.x.ai/docs/models"
152152
setApiConfigurationField={setApiConfigurationField}
153153
organizationAllowList={organizationAllowList as OrganizationAllowList}
154154
errorMessage={modelValidationError}

0 commit comments

Comments
 (0)