diff --git a/opencode.json b/opencode.json new file mode 100644 index 0000000..277bee7 --- /dev/null +++ b/opencode.json @@ -0,0 +1,42 @@ +{ + "$schema": "https://opencode.ai/config.json", + "plugin": ["oh-my-openagent"], + "mcp": { + "playwright-server": { + "enabled": true, + "type": "local", + "command": ["npx", "-y", "@executeautomation/playwright-mcp-server"] + } + }, + "provider":{ + "minimax-yangzong": { + "npm": "@ai-sdk/anthropic", + "options": { + "baseURL": "https://api.minimaxi.com/anthropic/v1", + "apiKey": "{env:YANG_MINMAX_KEY}" + }, + "models": { + "MiniMax-M2.7": { + "name": "MiniMax-M2.7" + } + } + }, + "yan-ZhiPu": { + "options": { + "baseURL": "https://open.bigmodel.cn/api/coding/paas/v4", + "apiKey": "{env:YAN_ZHIPU_API_KEY}" + }, + "models": { + "GLM-4.5-Air": { + "name": "GLM-4.5-Air" + }, + "GLM-4.7": { + "name": "GLM-4.7" + }, + "GLM-5": { + "name": "GLM-5" + } + } + } + } +}