summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-09-02 20:01:11 -0400
committerFrank <[email protected]>2025-09-02 20:01:13 -0400
commit4e629c5b64d52f6633e5e1a54d250b4b57c92604 (patch)
treea786a64484e161b4d2f0ac25a97bb3fa874cb861 /opencode.json
parent4624f0a260c36d55756b6f53641daacb878f9d92 (diff)
downloadopencode-4e629c5b64d52f6633e5e1a54d250b4b57c92604.tar.gz
opencode-4e629c5b64d52f6633e5e1a54d250b4b57c92604.zip
wip: cloud
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",