Skip to content

Commit c8ba35f

Browse files
Update src/content/docs/ai-gateway/providers/grok.mdx
Co-authored-by: Pedro Sousa <[email protected]>
1 parent 9b2d1c6 commit c8ba35f

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/ai-gateway/providers

1 file changed

+1
-1
lines changed

src/content/docs/ai-gateway/providers/grok.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If you are using the OpenAI SDK with JavaScript, you can set your endpoint like
4141
import OpenAI from "openai";
4242

4343
const openai = new OpenAI({
44-
apiKey: "<api key>",
44+
apiKey: "<XAI_API_KEY>",
4545
baseURL: "https://api.x.ai/v1",
4646
});
4747

0 commit comments

Comments
 (0)