release: v3.0.0

This commit is contained in:
Del 2024-06-05 11:07:28 +08:00
parent d78b3bfba0
commit 869c030919
4 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ export default {
},
speaker: {
// 小米 ID
userId: "944123456", // 注意:不是手机号或邮箱,请在「个人信息」-「小米 ID」查看
userId: "987654321", // 注意:不是手机号或邮箱,请在「个人信息」-「小米 ID」查看
// 账号密码
password: "123456",
// 小爱音箱 ID 或在米家中设置的名称

View File

@ -20,7 +20,7 @@
# v2.1.1
- 修复 DB 初始化失败的问题([issue#17](https://github.com/idootop/mi-gpt/issues/17)
- 优化版本号读取方式import
- 优化版本号读取方式import 静态导入
# v2.1.0

View File

@ -63,7 +63,7 @@ import { MiGPT } from "mi-gpt";
async function main() {
const client = MiGPT.create({
speaker: {
userId: "944123456", // 注意:不是手机号或邮箱,请在「个人信息」-「小米 ID」查看
userId: "987654321", // 注意:不是手机号或邮箱,请在「个人信息」-「小米 ID」查看
password: "123456", // 账号密码
did: "小爱音箱Pro", // 小爱音箱 ID 或在米家中设置的名称
},
@ -94,7 +94,7 @@ main();
| `name` | 会话群名称 | `"魔幻手机"` |
| `description` | 会话群简介 | `"傻妞和陆小千的私聊"` |
| **speaker** | | |
| `userId` | [小米 ID](https://account.xiaomi.com/fe/service/account/profile)(注意:不是手机号或邮箱) | `"944123456"` |
| `userId` | [小米 ID](https://account.xiaomi.com/fe/service/account/profile)(注意:不是手机号或邮箱) | `"987654321"` |
| `password` | 账户密码 | `"123456"` |
| `did` | 小爱音箱 ID 或名称 | `"小爱音箱 Pro"` |
| `ttsCommand` | 小爱音箱 TTS 指令([可在此查询](https://home.miot-spec.com) | `[5, 1]` |

View File

@ -1,6 +1,6 @@
{
"name": "mi-gpt",
"version": "2.1.2",
"version": "3.0.0",
"type": "module",
"description": "将小爱音箱接入 ChatGPT 和豆包,改造成你的专属语音助手。",
"homepage": "https://github.com/idootop/mi-gpt",