-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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: refactor file Url query in message model #5019
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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5019 +/- ##
=========================================
Coverage 91.96% 91.96%
=========================================
Files 547 548 +1
Lines 41321 41325 +4
Branches 3705 2514 -1191
=========================================
+ Hits 38001 38005 +4
Misses 3320 3320
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.36.24](v1.36.23...v1.36.24) <sup>Released on **2024-12-14**</sup> #### ♻ Code Refactoring - **misc**: Refactor file Url query in message model. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Refactor file Url query in message model, closes [#5019](#5019) ([edf78f4](edf78f4)) </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.36.24 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.78.11](v1.78.10...v1.78.11) <sup>Released on **2024-12-15**</sup> #### ♻ Code Refactoring - **misc**: Refactor file Url query in message model. #### 💄 Styles - **misc**: Add new grok models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Refactor file Url query in message model, closes [lobehub#5019](https://github.com/bentwnghk/lobe-chat/issues/5019) ([edf78f4](edf78f4)) #### Styles * **misc**: Add new grok models, closes [lobehub#5013](https://github.com/bentwnghk/lobe-chat/issues/5013) ([8df3212](8df3212)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
调整 message model 的实现,将 getFileUrl 从 model 层拿出,通过一个
postProcessUrl
来做后处理。这个方法后续在 client 端应该也可以用(将 local-s3 协议转成 Blob 或者 base64)。📝 补充信息 | Additional Information