diff options
| author | Frank <[email protected]> | 2025-08-04 21:08:28 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-08-04 21:08:29 -0400 |
| commit | 40036abb9d6f4adc8ef4458742d508f984461c7f (patch) | |
| tree | ddb125398fa255a711e1dd01f964046a98e03ced /opencode.json | |
| parent | 2970ba6416286fc78598d99a93cbb5fae1bfd4a6 (diff) | |
| download | opencode-40036abb9d6f4adc8ef4458742d508f984461c7f.tar.gz opencode-40036abb9d6f4adc8ef4458742d508f984461c7f.zip | |
wip: gateway
Diffstat (limited to 'opencode.json')
| -rw-r--r-- | opencode.json | 15 |
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", |
