-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathusage-limits.jsonc
More file actions
93 lines (93 loc) · 2.94 KB
/
Copy pathusage-limits.jsonc
File metadata and controls
93 lines (93 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"$schema": "https://raw.githubusercontent.com/mynameistito/opencode-plugins/main/packages/opencode-usage-limits/usage-limits.schema.json",
"enabled": true,
"refreshIntervalSeconds": 60,
"requestTimeoutMs": 10000,
"showErrors": true,
"providers": {
"alibaba-token-plan": {
"enabled": true,
"label": "Alibaba Token Plan",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"region": "international",
},
"codex": {
"enabled": true,
"label": "Codex",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.codex/auth.json",
"apiKey": "{env:OPENAI_API_KEY}",
"authorizationScheme": "bearer",
"baseUrl": "https://chatgpt.com/backend-api",
},
"zai": {
"enabled": true,
"label": "ZAI",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:OC_ZAI_API_KEY}", // Optional fallback when OpenCode auth has no ZAI key
"authorizationScheme": "raw",
},
"synthetic": {
"enabled": true,
"label": "Synthetic",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:OC_SYNTHETIC_API_KEY}", // Optional fallback when OpenCode auth has no Synthetic key
"baseUrl": "https://api.synthetic.new",
},
"minimax": {
"enabled": true,
"label": "MiniMax",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:OC_MINIMAX_TOKEN_PLAN_KEY}", // Optional fallback when OpenCode auth has no MiniMax key
"baseUrl": "https://www.minimax.io",
},
"qwen": {
"enabled": false,
"label": "Qwen",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
},
"opencode-go": {
"enabled": true,
"label": "OpenCode GO",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:OPENCODE_API_KEY}", // Optional fallback when OpenCode auth has no key
"baseUrl": "https://opencode.ai/zen/go/v1",
},
"commandcode": {
"enabled": false,
"label": "Command Code",
"showSidebarBar": true,
"showFooterBar": true,
"sidebarWindow": "all",
"footerWindow": "auto",
"authPath": "~/.config/opencode/auth.json",
"apiKey": "{env:COMMANDCODE_API_KEY}", // Optional fallback when OpenCode auth has no key
"baseUrl": "https://api.commandcode.ai",
},
},
}