feat(groq): add support for Groq using the OpenAI provider

This commit is contained in:
Hunter Casten 2025-04-24 22:48:48 -07:00 committed by Kujtim Hoxha
commit 7a62ab7675
5 changed files with 143 additions and 47 deletions

View file

@ -91,6 +91,10 @@ You can configure OpenCode using environment variables:
"anthropic": {
"apiKey": "your-api-key",
"disabled": false
},
"groq": {
"apiKey": "your-api-key",
"disabled": false
}
},
"agents": {
@ -158,6 +162,14 @@ OpenCode supports a variety of AI models from different providers:
- Claude 3.7 Sonnet
### Groq
- Llama 4 Maverick (17b-128e-instruct)
- Llama 4 Scout (17b-16e-instruct)
- QWEN QWQ-32b
- Deepseek R1 distill Llama 70b
- Llama 3.3 70b Versatile
## Usage
```bash