-
-
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
🐛 fix: allow builtin tools to trigger AI message #3135
Conversation
@phuctm97 is attempting to deploy a commit to the LobeHub Pro Team on Vercel. A member of the Team first needs to authorize it. |
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 #3135 +/- ##
========================================
Coverage 93.75% 93.75%
========================================
Files 388 388
Lines 23968 23968
Branches 2714 1867 -847
========================================
Hits 22470 22470
Misses 1498 1498
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
❤️ Great PR @phuctm97 ❤️ 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.2.8](v1.2.7...v1.2.8) <sup>Released on **2024-07-03**</sup> #### 🐛 Bug Fixes - **misc**: Allow builtin tools to trigger AI message. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Allow builtin tools to trigger AI message, closes [#3135](#3135) ([6c4c8f7](6c4c8f7)) </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.2.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.45.5](v1.45.4...v1.45.5) <sup>Released on **2024-07-03**</sup> #### 🐛 Bug Fixes - **misc**: Allow builtin tools to trigger AI message. #### 💄 Styles - **misc**: Improve delete assistant message with tools. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Allow builtin tools to trigger AI message, closes [lobehub#3135](https://github.com/bentwnghk/lobe-chat/issues/3135) ([6c4c8f7](6c4c8f7)) #### Styles * **misc**: Improve delete assistant message with tools, closes [lobehub#3127](https://github.com/bentwnghk/lobe-chat/issues/3127) ([1230777](1230777)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
### [Version 1.2.8](lobehub/lobe-chat@v1.2.7...v1.2.8) <sup>Released on **2024-07-03**</sup> #### 🐛 Bug Fixes - **misc**: Allow builtin tools to trigger AI message. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Allow builtin tools to trigger AI message, closes [lobehub#3135](lobehub#3135) ([6c4c8f7](lobehub@6c4c8f7)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
### [Version 1.2.8](lobehub/lobe-chat@v1.2.7...v1.2.8) <sup>Released on **2024-07-03**</sup> #### 🐛 Bug Fixes - **misc**: Allow builtin tools to trigger AI message. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Allow builtin tools to trigger AI message, closes [lobehub#3135](lobehub#3135) ([6c4c8f7](lobehub@6c4c8f7)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
This enables built in plugin to return truthy data in its execution to signal that an AI message should be triggered. It's a non-breaking change, all current plugins & tools work the same. In the future, if a built in tool wants to trigger an AI message, it can just return a truthy value.
📝 补充信息 | Additional Information
Feel free to change this to a fix if you think that's better.