imtoagent 0.3.14 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/modules/cli/setup.ts +12 -12
- package/package.json +1 -1
- package/templates/providers.template.json +85 -4
package/modules/cli/setup.ts
CHANGED
|
@@ -187,71 +187,71 @@ const PROVIDER_PRESETS: ProviderPreset[] = [
|
|
|
187
187
|
name: 'DashScope (Alibaba Bailian)',
|
|
188
188
|
baseUrl: 'https://dashscope.aliyuncs.com/compatible-mode/v1',
|
|
189
189
|
format: 'openai',
|
|
190
|
-
models: ['
|
|
190
|
+
models: ['qwen3.7-max', 'qwen3.6-plus', 'qwen3.6-flash', 'qwen3.5-omni-plus'],
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
name: 'DeepSeek',
|
|
194
194
|
baseUrl: 'https://api.deepseek.com/v1',
|
|
195
195
|
format: 'openai',
|
|
196
|
-
models: ['deepseek-
|
|
196
|
+
models: ['deepseek-v4-pro', 'deepseek-v4-flash'],
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
name: 'Zhipu AI (Zhipu)',
|
|
200
200
|
baseUrl: 'https://open.bigmodel.cn/api/paas/v4',
|
|
201
201
|
format: 'openai',
|
|
202
|
-
models: ['glm-4-
|
|
202
|
+
models: ['glm-5.1', 'glm-5', 'glm-5-turbo', 'glm-4.7', 'glm-4.7-flashx', 'glm-4.6', 'glm-4.5-air', 'glm-4.5-airx', 'glm-4-long'],
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
name: 'MiniMax',
|
|
206
|
-
baseUrl: 'https://api.
|
|
206
|
+
baseUrl: 'https://api.minimaxi.com/v1',
|
|
207
207
|
format: 'openai',
|
|
208
|
-
models: ['MiniMax-M2.
|
|
208
|
+
models: ['MiniMax-M2.7', 'MiniMax-M2.5'],
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
name: 'SiliconFlow',
|
|
212
212
|
baseUrl: 'https://api.siliconflow.cn/v1',
|
|
213
213
|
format: 'openai',
|
|
214
|
-
models: ['Qwen/
|
|
214
|
+
models: ['Qwen/Qwen3-235B-A22B', 'deepseek-ai/DeepSeek-V4', 'Qwen/Qwen3-32B'],
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
name: 'Moonshot (Moonshot AI)',
|
|
218
218
|
baseUrl: 'https://api.moonshot.cn/v1',
|
|
219
219
|
format: 'openai',
|
|
220
|
-
models: ['
|
|
220
|
+
models: ['kimi-k2.6', 'kimi-k2.5', 'kimi-k2-thinking'],
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
name: 'OpenAI',
|
|
224
224
|
baseUrl: 'https://api.openai.com/v1',
|
|
225
225
|
format: 'openai',
|
|
226
|
-
models: ['gpt-
|
|
226
|
+
models: ['gpt-5', 'gpt-5-mini', 'o3', 'o4-mini'],
|
|
227
227
|
hint: 'Proxy required to access',
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
name: 'Anthropic',
|
|
231
231
|
baseUrl: 'https://api.anthropic.com',
|
|
232
232
|
format: 'anthropic',
|
|
233
|
-
models: ['claude-sonnet-4-
|
|
233
|
+
models: ['claude-sonnet-4-5-20251101', 'claude-opus-4-6-20260416', 'claude-haiku-4-20250514'],
|
|
234
234
|
hint: 'Proxy required to access',
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
name: 'Gemini (Google)',
|
|
238
238
|
baseUrl: 'https://generativelanguage.googleapis.com/v1beta/openai',
|
|
239
239
|
format: 'openai',
|
|
240
|
-
models: ['gemini-
|
|
240
|
+
models: ['gemini-3-pro', 'gemini-3-flash', 'gemini-2.5-pro'],
|
|
241
241
|
hint: 'Proxy required to access',
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
name: 'xAI (Grok)',
|
|
245
245
|
baseUrl: 'https://api.x.ai/v1',
|
|
246
246
|
format: 'openai',
|
|
247
|
-
models: ['grok-
|
|
247
|
+
models: ['grok-4', 'grok-4-fast', 'grok-3'],
|
|
248
248
|
hint: 'Requires proxy to access',
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
name: 'Ollama (Local)',
|
|
252
252
|
baseUrl: 'http://localhost:11434/v1',
|
|
253
253
|
format: 'openai',
|
|
254
|
-
models: ['qwen2.5', 'llama3.
|
|
254
|
+
models: ['qwen3', 'qwen2.5', 'llama3.3', 'deepseek-r1'],
|
|
255
255
|
},
|
|
256
256
|
];
|
|
257
257
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"providers": {
|
|
3
|
+
"dashscope": {
|
|
4
|
+
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
5
|
+
"apiKey": "YOUR_DASHSCOPE_API_KEY",
|
|
6
|
+
"models": [
|
|
7
|
+
"qwen3.7-max",
|
|
8
|
+
"qwen3.6-plus",
|
|
9
|
+
"qwen3.6-flash",
|
|
10
|
+
"qwen3.5-omni-plus"
|
|
11
|
+
],
|
|
12
|
+
"format": "openai",
|
|
13
|
+
"pricing": {
|
|
14
|
+
"inputPerMillion": 1.2,
|
|
15
|
+
"outputPerMillion": 6.0,
|
|
16
|
+
"currency": "CNY"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
3
19
|
"deepseek": {
|
|
4
20
|
"baseUrl": "https://api.deepseek.com/v1",
|
|
5
21
|
"apiKey": "YOUR_DEEPSEEK_API_KEY",
|
|
@@ -9,11 +25,76 @@
|
|
|
9
25
|
],
|
|
10
26
|
"format": "openai",
|
|
11
27
|
"pricing": {
|
|
12
|
-
"inputPerMillion": 0
|
|
13
|
-
"outputPerMillion":
|
|
14
|
-
"currency": "
|
|
28
|
+
"inputPerMillion": 3.0,
|
|
29
|
+
"outputPerMillion": 6.0,
|
|
30
|
+
"currency": "CNY"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"zhipu": {
|
|
34
|
+
"baseUrl": "https://open.bigmodel.cn/api/paas/v4",
|
|
35
|
+
"apiKey": "YOUR_ZHIPU_API_KEY",
|
|
36
|
+
"models": [
|
|
37
|
+
"glm-5.1",
|
|
38
|
+
"glm-5",
|
|
39
|
+
"glm-5-turbo",
|
|
40
|
+
"glm-4.7",
|
|
41
|
+
"glm-4.7-flashx",
|
|
42
|
+
"glm-4.6",
|
|
43
|
+
"glm-4.5-air",
|
|
44
|
+
"glm-4.5-airx",
|
|
45
|
+
"glm-4-long"
|
|
46
|
+
],
|
|
47
|
+
"format": "openai",
|
|
48
|
+
"pricing": {
|
|
49
|
+
"inputPerMillion": 1.0,
|
|
50
|
+
"outputPerMillion": 5.0,
|
|
51
|
+
"currency": "CNY"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"minimax": {
|
|
55
|
+
"baseUrl": "https://api.minimaxi.com/v1",
|
|
56
|
+
"apiKey": "YOUR_MINIMAX_API_KEY",
|
|
57
|
+
"models": [
|
|
58
|
+
"MiniMax-M2.7",
|
|
59
|
+
"MiniMax-M2.5"
|
|
60
|
+
],
|
|
61
|
+
"format": "openai",
|
|
62
|
+
"pricing": {
|
|
63
|
+
"inputPerMillion": 1.0,
|
|
64
|
+
"outputPerMillion": 4.0,
|
|
65
|
+
"currency": "CNY"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"moonshot": {
|
|
69
|
+
"baseUrl": "https://api.moonshot.cn/v1",
|
|
70
|
+
"apiKey": "YOUR_MOONSHOT_API_KEY",
|
|
71
|
+
"models": [
|
|
72
|
+
"kimi-k2.6",
|
|
73
|
+
"kimi-k2.5",
|
|
74
|
+
"kimi-k2-thinking"
|
|
75
|
+
],
|
|
76
|
+
"format": "openai",
|
|
77
|
+
"pricing": {
|
|
78
|
+
"inputPerMillion": 3.0,
|
|
79
|
+
"outputPerMillion": 12.0,
|
|
80
|
+
"currency": "CNY"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"siliconflow": {
|
|
84
|
+
"baseUrl": "https://api.siliconflow.cn/v1",
|
|
85
|
+
"apiKey": "YOUR_SILICONFLOW_API_KEY",
|
|
86
|
+
"models": [
|
|
87
|
+
"Qwen/Qwen3-235B-A22B",
|
|
88
|
+
"deepseek-ai/DeepSeek-V4",
|
|
89
|
+
"Qwen/Qwen3-32B"
|
|
90
|
+
],
|
|
91
|
+
"format": "openai",
|
|
92
|
+
"pricing": {
|
|
93
|
+
"inputPerMillion": 0.5,
|
|
94
|
+
"outputPerMillion": 2.0,
|
|
95
|
+
"currency": "CNY"
|
|
15
96
|
}
|
|
16
97
|
}
|
|
17
98
|
},
|
|
18
|
-
"defaultModel": "
|
|
99
|
+
"defaultModel": "dashscope/qwen3.7-max"
|
|
19
100
|
}
|