summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
diff options
context:
space:
mode:
Diffstat (limited to 'opencode.json')
-rw-r--r--opencode.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/opencode.json b/opencode.json
index 59f14ac75..6cba9ba6a 100644
--- a/opencode.json
+++ b/opencode.json
@@ -1,5 +1,20 @@
{
"$schema": "https://opencode.ai/config.json",
+ "model": "opencode/anthropic/claude-sonnet-4",
+ "provider": {
+ "opencode": {
+ "name": "opencode",
+ "npm": "@ai-sdk/openai-compatible",
+ "options": {
+ "baseURL": "https://api.gateway.frank.dev.opencode.ai/v1"
+ },
+ "models": {
+ "anthropic/claude-sonnet-4": {},
+ "openai/gpt-4.1": {},
+ "zhipu/glm-4.5-flash": {}
+ }
+ }
+ },
"mcp": {
"context7": {
"type": "remote",