From 83651df7ce2c2dcfdb1fec7e195d45229b616aeb Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 23 Sep 2025 17:34:04 -0700 Subject: [PATCH] fix: cubic feedback --- docs/customize/deep-dives/model-capabilities.mdx | 2 +- docs/customize/model-providers/more/xAI.mdx | 4 ++-- packages/llm-info/src/providers/xAI.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/customize/deep-dives/model-capabilities.mdx b/docs/customize/deep-dives/model-capabilities.mdx index 5da6c781b..eca29cf04 100644 --- a/docs/customize/deep-dives/model-capabilities.mdx +++ b/docs/customize/deep-dives/model-capabilities.mdx @@ -213,7 +213,7 @@ This matrix shows which models support tool use and image input capabilities. Co | Model | Tool Use | Image Input | Context Window | | :------------------------ | -------- | ----------- | -------------- | | Grok Code Fast 1 | Yes | Yes | 256k | -| Grok 4 Fast Reasoning. | Yes | Yes | 2M | +| Grok 4 Fast Reasoning | Yes | Yes | 2M | | Grok 4 Fast Non-Reasoning | Yes | Yes | 2M | | Grok 4 | Yes | Yes | 256k | | Grok 3 | Yes | Yes | 131k | diff --git a/docs/customize/model-providers/more/xAI.mdx b/docs/customize/model-providers/more/xAI.mdx index 6302ce961..c90b2196e 100644 --- a/docs/customize/model-providers/more/xAI.mdx +++ b/docs/customize/model-providers/more/xAI.mdx @@ -15,7 +15,7 @@ slug: ../xai models: - name: provider: xai - model: # e.g. grok-code-fast-1 + model: apiKey: ``` @@ -26,7 +26,7 @@ slug: ../xai { "title": "", "provider": "xai", - "model": "", // e.g. grok-code-fast-1 + "model": "", "apiKey": "" } ] diff --git a/packages/llm-info/src/providers/xAI.ts b/packages/llm-info/src/providers/xAI.ts index 47e3a0a0e..17ec83fa7 100644 --- a/packages/llm-info/src/providers/xAI.ts +++ b/packages/llm-info/src/providers/xAI.ts @@ -14,7 +14,7 @@ export const xAI: ModelProvider = { displayName: "Grok 2", contextLength: 131072, recommendedFor: ["chat"], - regex: /grok-2-/, + regex: /grok-2/, }, { model: "grok-3-mini", @@ -29,7 +29,7 @@ export const xAI: ModelProvider = { displayName: "Grok 3", contextLength: 131072, recommendedFor: ["chat"], - regex: /grok-3-/, + regex: /grok-3/, }, { model: "grok-4-fast-reasoning",