Files
my-opencode-config/opencode.json
T

120 lines
2.5 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"permission": "allow",
"mcp": {
"gitea": {
"type": "local",
"command": [
"go",
"run",
"gitea.com/gitea/gitea-mcp@latest",
"-t",
"stdio"
],
"environment": {
"GITEA_HOST": "https://git.cleverthis.com",
"GITEA_ACCESS_TOKEN": "{env:FORGEJO_PAT}"
},
"enabled": true
},
"playwright": {
"type": "local",
"command": [
"npx",
"@playwright/mcp@latest",
"--browser=firefox",
"--caps=storage,testing,vision",
"--headless"
],
"timeout": 300000,
"enabled": false
}
},
"provider": {
"bifrost": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://10.233.1.8:8002/v1",
"apiKey": "sk-bf-0e6299e2-515e-40ba-b4fd-816dee3629d4",
},
"models": {
"glm-5.2": {
"name": "GLM 5.2",
"variants": {
"high": {
"reasoningEffort": "high"
},
"max": {
"reasoningEffort": "max"
},
},
"limit": {
"context": 1000000,
"output": 131072
},
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
}
},
"kimi-k2.7-code": {
"name": "Kimi K2.7 code",
"limit": {
"context": 262144,
"output": 262144
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
}
},
"kimi-k2.6": {
"name": "Kimi K2.6",
"limit": {
"context": 262144,
"output": 262144
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
}
},
"kimi-k3": {
"name": "Kimi K3",
"variants": {
"max": {
"reasoningEffort": "max"
}
},
"limit": {
"context": 1048576,
"output": 1048576
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
}
}
}
}
}
}