Ostatnio aktywny 1768478287

xiongxiao zrewidował ten Gist 1768478286. Przejdź do rewizji

1 file changed, 57 insertions

opencode.json(stworzono plik)

@@ -0,0 +1,57 @@
1 + {
2 + "$schema": "https://opencode.ai/config.json",
3 + "autoshare": false,
4 + "share": "disabled",
5 + "autoupdate": true,
6 + "permission": "allow",
7 + "model": "custom-minimax/MiniMax-M2.1",
8 + "watcher": {
9 + "ignore": [
10 + "node_modules/**",
11 + "dist/**",
12 + ".git/**"
13 + ]
14 + },
15 + "plugin": [],
16 + "provider": {
17 + "custom-zhipu": {
18 + "npm": "@ai-sdk/openai-compatible",
19 + "name": "国内智谱开发订阅",
20 + "models": {
21 + "GLM-4.7": {
22 + "name": "GLM-4.7"
23 + }
24 + },
25 + "options": {
26 + "baseURL": "https://open.bigmodel.cn/api/coding/paas/v4",
27 + "apiKey": "{env:ZHIPU_API_KEY}"
28 + }
29 + },
30 + "custom-minimax": {
31 + "npm": "@ai-sdk/anthropic",
32 + "name": "国内MiniMax开发订阅",
33 + "models": {
34 + "MiniMax-M2.1": {
35 + "name": "MiniMax-M2.1"
36 + }
37 + },
38 + "options": {
39 + "baseURL": "https://api.minimaxi.com/anthropic/v1",
40 + "apiKey": "{env:MINIMAX_API_KEY}"
41 + }
42 + },
43 + "custom-doubao": {
44 + "npm": "@ai-sdk/openai-compatible",
45 + "name": "国内火山开发订阅",
46 + "models": {
47 + "ark-code-latest": {
48 + "name": "ark-code-latest"
49 + }
50 + },
51 + "options": {
52 + "baseURL": "https://ark.cn-beijing.volces.com/api/coding/v3",
53 + "apiKey": "{env:VOLCENGINE_API_KEY}"
54 + }
55 + }
56 + }
57 + }
Nowsze Starsze