wechat-ai 0.1.6 → 0.1.7
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/README.md +9 -21
- package/dist/{chunk-57KZRJCI.js → chunk-K7WL3LJ6.js} +724 -40
- package/dist/chunk-K7WL3LJ6.js.map +1 -0
- package/dist/cli.js +70 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +41 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-57KZRJCI.js.map +0 -1
package/README.md
CHANGED
|
@@ -14,32 +14,20 @@ wechat-ai
|
|
|
14
14
|
|
|
15
15
|
## 支持模型
|
|
16
16
|
|
|
17
|
-
| 模型 | 默认版本 | 设置 Key |
|
|
18
|
-
|
|
19
|
-
| 通义千问 (Qwen) | qwen-plus | `wechat-ai set qwen <key>` |
|
|
20
|
-
| DeepSeek | deepseek-chat | `wechat-ai set deepseek <key>` |
|
|
21
|
-
| Claude | claude-opus-4-6 (Agent) | `wechat-ai set claude <key>` |
|
|
22
|
-
| GPT | gpt-4o | `wechat-ai set gpt <key>` |
|
|
23
|
-
| Gemini | gemini-2.0-flash | `wechat-ai set gemini <key>` |
|
|
24
|
-
| MiniMax | MiniMax-Text-01 | `wechat-ai set minimax <key>` |
|
|
25
|
-
| 智谱 (GLM) | glm-4-plus | `wechat-ai set glm <key>` |
|
|
17
|
+
| 模型 | 默认版本 | 设置 Key | 获取 Key |
|
|
18
|
+
|------|---------|---------|---------|
|
|
19
|
+
| 通义千问 (Qwen) | qwen-plus | `wechat-ai set qwen <key>` | [申请](https://dashscope.console.aliyun.com/apiKey) |
|
|
20
|
+
| DeepSeek | deepseek-chat | `wechat-ai set deepseek <key>` | [申请](https://platform.deepseek.com/api_keys) |
|
|
21
|
+
| Claude | claude-opus-4-6 (Agent) | `wechat-ai set claude <key>` | [申请](https://console.anthropic.com/settings/keys) |
|
|
22
|
+
| GPT | gpt-4o | `wechat-ai set gpt <key>` | [申请](https://platform.openai.com/api-keys) |
|
|
23
|
+
| Gemini | gemini-2.0-flash | `wechat-ai set gemini <key>` | [申请](https://aistudio.google.com/apikey) |
|
|
24
|
+
| MiniMax | MiniMax-Text-01 | `wechat-ai set minimax <key>` | [申请](https://platform.minimaxi.com/user-center/basic-information/interface-key) |
|
|
25
|
+
| 智谱 (GLM) | glm-4-plus | `wechat-ai set glm <key>` | [申请](https://open.bigmodel.cn/usercenter/apikeys) |
|
|
26
26
|
|
|
27
27
|
支持任何 OpenAI 兼容 API,编辑 `~/.wai/config.json` 即可添加。
|
|
28
28
|
|
|
29
29
|
Claude 通过 [Agent SDK](https://github.com/anthropics/claude-agent-sdk-typescript) 接入,支持执行代码、读写文件、搜索网页,不只是聊天。
|
|
30
30
|
|
|
31
|
-
### API Key 获取
|
|
32
|
-
|
|
33
|
-
| 模型 | 申请地址 |
|
|
34
|
-
|------|---------|
|
|
35
|
-
| 通义千问 (Qwen) | https://dashscope.console.aliyun.com/apiKey |
|
|
36
|
-
| DeepSeek | https://platform.deepseek.com/api_keys |
|
|
37
|
-
| Claude | https://console.anthropic.com/settings/keys |
|
|
38
|
-
| GPT | https://platform.openai.com/api-keys |
|
|
39
|
-
| Gemini | https://aistudio.google.com/apikey |
|
|
40
|
-
| MiniMax | https://platform.minimaxi.com/user-center/basic-information/interface-key |
|
|
41
|
-
| 智谱 (GLM) | https://open.bigmodel.cn/usercenter/apikeys |
|
|
42
|
-
|
|
43
31
|
## 安装运行
|
|
44
32
|
|
|
45
33
|
```bash
|