summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
diff options
context:
space:
mode:
Diffstat (limited to 'opencode.json')
-rw-r--r--opencode.json19
1 files changed, 18 insertions, 1 deletions
diff --git a/opencode.json b/opencode.json
index f416e91bf..6226069a9 100644
--- a/opencode.json
+++ b/opencode.json
@@ -1,6 +1,23 @@
{
"$schema": "https://opencode.ai/config.json",
-
+ "provider": {
+ "frank": {
+ "npm": "@ai-sdk/openai-compatible",
+ "name": "My AI ProviderDisplay Name",
+ "env": ["OPENCODE_API_KEY"],
+ "options": {
+ "baseURL": "https://console.frank.dev.opencode.ai/gateway/v1"
+ },
+ "models": {
+ "x-ai/grok-code-fast-1": {
+ "name": "Grok Code Fast 1"
+ },
+ "qwen/qwen3-coder": {
+ "name": "Qwen 3 Coder"
+ }
+ }
+ }
+ },
"mcp": {
"weather": {
"type": "local",