release: v2.0.0

This commit is contained in:
WJG 2024-05-26 22:53:03 +08:00
parent 7ae4697574
commit f18dda140c
No known key found for this signature in database
GPG Key ID: 258474EF8590014A
3 changed files with 22 additions and 3 deletions

View File

@ -1,3 +1,23 @@
# v2.0.0
## 🚨 Breaking changes
- `callAIPrefix` 更名为 `callAIKeywords`
- `wakeUpKeywords`、`exitKeywords` 匹配规则由包含(includes)变更为起始(startsWith)
## ✨ 新功能 & 优化
- 支持 Microsoft Azure OpenAI[#7](https://github.com/idootop/mi-gpt/issues/7)
- 新增 LLM 响应完毕提示语onAIReplied
- 优化 `.mi.example.js` 配置参数实例
- 优化唤醒模式下播放状态检测间隔,限制最低为 500 ms
## 🐛 修复
- 修复唤醒模式下 LLM 回复不发音或过短的问题([#9](https://github.com/idootop/mi-gpt/issues/9)
- 修复部分场景下 LLM 返回数据格式异常的问题
- 修复唤醒词配置格式,使其与原始文档行为一致([#8](https://github.com/idootop/mi-gpt/issues/8)
# v1.2.0 # v1.2.0
- 新增小爱音箱 TTS 与唤醒指令选项 - 新增小爱音箱 TTS 与唤醒指令选项
@ -16,4 +36,3 @@
- 支持长短期记忆 - 支持长短期记忆
- 支持更换音色 - 支持更换音色
- 支持自定义音效和唤醒词等设置 - 支持自定义音效和唤醒词等设置

View File

@ -1,6 +1,6 @@
{ {
"name": "mi-gpt", "name": "mi-gpt",
"version": "1.2.0", "version": "2.0.0",
"type": "module", "type": "module",
"description": "将小爱音箱接入 ChatGPT 和豆包,改造成你的专属语音助手。", "description": "将小爱音箱接入 ChatGPT 和豆包,改造成你的专属语音助手。",
"license": "MIT", "license": "MIT",

View File

@ -15,7 +15,7 @@ export const kBannerASCII = `
| $$ \\/ | $$| $$| $$$$$$/| $$ | $$ | $$ \\/ | $$| $$| $$$$$$/| $$ | $$
|__/ |__/|__/ \\______/ |__/ |__/ |__/ |__/|__/ \\______/ |__/ |__/
MiGPT v1.0.0 by: del-wang.eth MiGPT v1.0.0 by: del.wang
`.replace("1.0.0", kVersion); `.replace("1.0.0", kVersion);