From c8f6f1f6129472ca2008fb18c9616359471a68b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=A9=E4=BB=9488?= <> Date: Thu, 14 May 2026 12:34:15 +0800 Subject: [PATCH] 1 --- opencode.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 opencode.json 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" + } + } + } + } +}