wip: gateway

This commit is contained in:
Frank
2025-08-04 21:08:28 -04:00
parent 2970ba6416
commit 40036abb9d
10 changed files with 616 additions and 8 deletions

View File

@@ -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",