Skip to content

Commit

Permalink
release: v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
idootop committed May 26, 2024
1 parent 7ae4697 commit f18dda1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

- 新增小爱音箱 TTS 与唤醒指令选项
Expand All @@ -16,4 +36,3 @@
- 支持长短期记忆
- 支持更换音色
- 支持自定义音效和唤醒词等设置

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mi-gpt",
"version": "1.2.0",
"version": "2.0.0",
"type": "module",
"description": "将小爱音箱接入 ChatGPT 和豆包,改造成你的专属语音助手。",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f18dda1

Please sign in to comment.