fix: 修复 MIoT 和 Mina 接口查询到的设备名称不一致的问题

This commit is contained in:
WJG 2024-06-11 20:12:00 +08:00
parent 213be6d1cb
commit f553b6e501
No known key found for this signature in database
GPG Key ID: 258474EF8590014A
3 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@
## 🔥 Hotfix ## 🔥 Hotfix
- 修复 MIoT 和 Mina 接口查询到的设备名称不一致的问题。https://github.com/idootop/mi-gpt/issues/62 - 修复 MIoT 和 Mina 接口查询到的设备名称不一致的问题。https://github.com/idootop/mi-gpt/issues/62
- 提示语列表为空时,不播放提示语。 - 提示语列表为空时,不播放提示语。
- 提示语和提示音链接都为空时不播放提示音。https://github.com/idootop/mi-gpt/issues/30#issuecomment-2153786207 - 提示语和提示音链接都为空时不播放提示音。https://github.com/idootop/mi-gpt/issues/30#issuecomment-2153786207
- 修复因没有配置环境变量,而导致没有初始化成功 OpenAI 使程序崩溃。 https://github.com/idootop/mi-gpt/issues/30#issuecomment-2153753279 - 修复因没有配置环境变量,而导致没有初始化成功 OpenAI 使程序崩溃。 https://github.com/idootop/mi-gpt/issues/30#issuecomment-2153753279

View File

@ -31,7 +31,7 @@
"@prisma/client": "^5.14.0", "@prisma/client": "^5.14.0",
"fs-extra": "^11.2.0", "fs-extra": "^11.2.0",
"https-proxy-agent": "^7.0.4", "https-proxy-agent": "^7.0.4",
"mi-service-lite": "^2.4.0", "mi-service-lite": "^2.5.0",
"openai": "^4.47.3", "openai": "^4.47.3",
"prisma": "^5.14.0" "prisma": "^5.14.0"
}, },

View File

@ -18,8 +18,8 @@ importers:
specifier: ^7.0.4 specifier: ^7.0.4
version: 7.0.4 version: 7.0.4
mi-service-lite: mi-service-lite:
specifier: ^2.4.0 specifier: ^2.5.0
version: 2.4.0 version: 2.5.0
openai: openai:
specifier: ^4.47.3 specifier: ^4.47.3
version: 4.47.3 version: 4.47.3
@ -803,8 +803,8 @@ packages:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'} engines: {node: '>= 8'}
mi-service-lite@2.4.0: mi-service-lite@2.5.0:
resolution: {integrity: sha512-imV+UcU9/+LWVZooKVZ93LFOsuDt+bNp6DlfneWTC5D9HP4wrGfsaa9aDDPEIn0Y3yJSnfz8PX3lI+T1+qQbUg==} resolution: {integrity: sha512-wrXxOUoR54QQRNiU7qZB0OqC20E1gO+eFw7W9ftsr8QkdmLyq+ewrCaT6QsSg1pObPAlZopb2Qci6PRBptdPzg==}
engines: {node: '>=16'} engines: {node: '>=16'}
micromatch@4.0.5: micromatch@4.0.5:
@ -1741,7 +1741,7 @@ snapshots:
merge2@1.4.1: {} merge2@1.4.1: {}
mi-service-lite@2.4.0: mi-service-lite@2.5.0:
dependencies: dependencies:
axios: 1.6.8 axios: 1.6.8
pako: 2.1.0 pako: 2.1.0