-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
♻️ refactor: separate message slice and ai-chat slice #4359
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4359 +/- ##
==========================================
+ Coverage 92.19% 92.21% +0.01%
==========================================
Files 491 493 +2
Lines 35346 35396 +50
Branches 3246 2303 -943
==========================================
+ Hits 32588 32640 +52
+ Misses 2758 2756 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
❤️ Great PR @arvinxx ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 1.22.4](v1.22.3...v1.22.4) <sup>Released on **2024-10-13**</sup> #### ♻ Code Refactoring - **misc**: Separate message slice and aiChat slice. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Separate message slice and aiChat slice, closes [#4359](#4359) ([7d037f6](7d037f6)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 1.22.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.65.2](v1.65.1...v1.65.2) <sup>Released on **2024-10-14**</sup> #### ♻ Code Refactoring - **misc**: Separate message slice and aiChat slice. #### 🐛 Bug Fixes - **misc**: Fix images not go in to chat context. #### 💄 Styles - **misc**: Reorder github model list & updata info & add new model, support multi-windows for PWA. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Separate message slice and aiChat slice, closes [lobehub#4359](https://github.com/bentwnghk/lobe-chat/issues/4359) ([7d037f6](7d037f6)) #### What's fixed * **misc**: Fix images not go in to chat context, closes [lobehub#4361](https://github.com/bentwnghk/lobe-chat/issues/4361) ([f17ab49](f17ab49)) #### Styles * **misc**: Reorder github model list & updata info & add new model, closes [lobehub#4360](https://github.com/bentwnghk/lobe-chat/issues/4360) ([e7767a5](e7767a5)) * **misc**: Support multi-windows for PWA, closes [lobehub#4334](https://github.com/bentwnghk/lobe-chat/issues/4334) ([0284606](0284606)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
重构 chat store 中 message slice (当前太大了,总共 30 个 actions),考虑未来 message 还会支持多选、批量删除等操作。AI 对话部分会进一步增强能力,因此提前拆成两个 slice:
📝 补充信息 | Additional Information