Skip to content

v0.7.2 Performance optimization 🔥🔥

Compare
Choose a tag to compare
@Peek-A-Booo Peek-A-Booo released this 30 Jun 14:52
· 145 commits to main since this release

🔥🔥v0.7.2 版本发布。该版本主要围绕着性能方面做了一些优化。重构了会话列表组件,精简了部分模块代码,整个图标和样式风格也开始进一步统一。此外,还新增了Azure TTS以及其自动播放的功能。

image

修复

  • 修复本地引入 azure tts 后,缺失 bufferutil 和 utf-8-validate 的 bug
  • 修复在 service 端错误引用了 client 代码的问题
  • 修复 azure tts 播放和暂停控制的 bug

新增

  • 新建会话时,沿用用户之前选择的语言模型
  • 添加初始化全局 loading
  • Azure TTS 新增自动播放选项(Premium)

调整

  • 重构滚动列表模块,优化性能
  • 删减部分多余功能,提升性能
  • 优化 UI 细节,统一全局图标样式。将 react-icons 替换为 MingCute Icon
  • 优化 OpenAI/Azure 接口返回错误格式
  • 升级 gpt-tokens 依赖

🔥🔥Version 0.7.2 has been released. This version mainly focuses on performance optimization. The session list component has been refactored, and some module code has been streamlined. The overall icon and style have also been further unified. In addition, Azure TTS and its automatic playback function have been added. The specific updates are as follows:

Fixed

  • Fixed bug of missing bufferutil and utf-8-validate after importing azure tts locally
  • Fixed issue of mistakenly referencing client code in the service side
  • Fix bug for Azure TTS play and pause controls

Add

  • Use the language model previously selected by the user when creating a new conversation.
  • Add global initialization loading
  • Azure TTS adds an automatic playback option (Premium)

Changed

  • Refactor scrolling list module, optimize performance
  • Remove unnecessary features to improve performance.
  • Optimize UI details and unify global icon styles. Replace react-icons with MingCute Icon.
  • Optimize OpenAI/Azure API to return error messages in a more user-friendly format
  • Upgrade gpt-tokens dependency