Skip to content

can somebody fix this for me please? #46

Closed Answered by theJayTea
hammouda101010 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @hammouda101010 , you've entered the Grok API URL incorrectly. Please refer to their own documentation on this:

https://console.groq.com/docs/api-reference#chat-create

The API base URL must be:
https://api.groq.com/openai/v1/chat/completions

I've not gone through their whole documentation page, but from my cursory look, this is one mistake I spotted. Refer to their documentation correctly to fix it. It shouldn't take more than 2 minutes. Cheers!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hammouda101010
Comment options

@hammouda101010
Comment options

@theJayTea
Comment options

@hammouda101010
Comment options

Answer selected by theJayTea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants