|
@@ -374,42 +374,6 @@ Some models need to be manually enabled in your [GitHub Copilot settings](https:
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-### Groq
|
|
|
|
|
-
|
|
|
|
|
-1. Head over to the [Groq console](https://console.groq.com/), click **Create API Key**, and copy the key.
|
|
|
|
|
-
|
|
|
|
|
-2. Run `opencode auth login` and select Groq.
|
|
|
|
|
-
|
|
|
|
|
- ```bash
|
|
|
|
|
- $ opencode auth login
|
|
|
|
|
-
|
|
|
|
|
- ┌ Add credential
|
|
|
|
|
- │
|
|
|
|
|
- ◆ Select provider
|
|
|
|
|
- │ ● Groq
|
|
|
|
|
- │ ...
|
|
|
|
|
- └
|
|
|
|
|
- ```
|
|
|
|
|
-
|
|
|
|
|
-3. Enter the API key for the provider.
|
|
|
|
|
-
|
|
|
|
|
- ```bash
|
|
|
|
|
- $ opencode auth login
|
|
|
|
|
-
|
|
|
|
|
- ┌ Add credential
|
|
|
|
|
- │
|
|
|
|
|
- ◇ Select provider
|
|
|
|
|
- │ Groq
|
|
|
|
|
- │
|
|
|
|
|
- ◇ Enter your API key
|
|
|
|
|
- │ _
|
|
|
|
|
- └
|
|
|
|
|
- ```
|
|
|
|
|
-
|
|
|
|
|
-4. Run the `/models` command to select the one you want.
|
|
|
|
|
-
|
|
|
|
|
----
|
|
|
|
|
-
|
|
|
|
|
### Google Vertex AI
|
|
### Google Vertex AI
|
|
|
|
|
|
|
|
To use Google Vertex AI with OpenCode:
|
|
To use Google Vertex AI with OpenCode:
|
|
@@ -446,6 +410,42 @@ To use Google Vertex AI with OpenCode:
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
|
|
+### Groq
|
|
|
|
|
+
|
|
|
|
|
+1. Head over to the [Groq console](https://console.groq.com/), click **Create API Key**, and copy the key.
|
|
|
|
|
+
|
|
|
|
|
+2. Run `opencode auth login` and select Groq.
|
|
|
|
|
+
|
|
|
|
|
+ ```bash
|
|
|
|
|
+ $ opencode auth login
|
|
|
|
|
+
|
|
|
|
|
+ ┌ Add credential
|
|
|
|
|
+ │
|
|
|
|
|
+ ◆ Select provider
|
|
|
|
|
+ │ ● Groq
|
|
|
|
|
+ │ ...
|
|
|
|
|
+ └
|
|
|
|
|
+ ```
|
|
|
|
|
+
|
|
|
|
|
+3. Enter the API key for the provider.
|
|
|
|
|
+
|
|
|
|
|
+ ```bash
|
|
|
|
|
+ $ opencode auth login
|
|
|
|
|
+
|
|
|
|
|
+ ┌ Add credential
|
|
|
|
|
+ │
|
|
|
|
|
+ ◇ Select provider
|
|
|
|
|
+ │ Groq
|
|
|
|
|
+ │
|
|
|
|
|
+ ◇ Enter your API key
|
|
|
|
|
+ │ _
|
|
|
|
|
+ └
|
|
|
|
|
+ ```
|
|
|
|
|
+
|
|
|
|
|
+4. Run the `/models` command to select the one you want.
|
|
|
|
|
+
|
|
|
|
|
+---
|
|
|
|
|
+
|
|
|
### LM Studio
|
|
### LM Studio
|
|
|
|
|
|
|
|
You can configure opencode to use local models through LM Studio.
|
|
You can configure opencode to use local models through LM Studio.
|