BuilderIO / BuilderIO/ai-shell

Configuring groq api support

Open
#126 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.3k
Forks
377
PR merge metrics
No merged PRs in 30d

Description

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

```
OPENAI_API_ENDPOINT=https://api.groq.com/openai/v1
OPENAI_KEY=
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.