Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring groq api support #126

Open
KhalfaniW opened this issue Aug 28, 2024 · 0 comments
Open

Configuring groq api support #126

KhalfaniW opened this issue Aug 28, 2024 · 0 comments

Comments

@KhalfaniW
Copy link

KhalfaniW commented Aug 28, 2024

You can set the config like this to use groq instead of openai

OPENAI_API_ENDPOINT=https://api.groq.com/openai/v1
OPENAI_KEY=<groq api key>
MODEL=<llama model>

This creates commands correctly, but i get this error when it writes the explanation

{
  "error": {
    "message": "The model `gpt-3.5-turbo` does not exist or you do not have access to it.",
    "type": "invalid_request_error",
    "code": "model_not_found"
  }
}

A temporary workaround is to always have silent mode on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant