✨ feat: add reasoning content selector and update AutoScroll component#7056
✨ feat: add reasoning content selector and update AutoScroll component#7056arvinxx merged 2 commits intolobehub:mainfrom
Conversation
- Introduced `mainAILatestMessageReasoningContent` selector to retrieve the reasoning content of the latest message. - Updated `AutoScroll` component to include the new reasoning content in its effect dependencies. - Added unit tests for the new selector to ensure correct functionality.
|
@samurai00 is attempting to deploy a commit to the LobeChat Desktop 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 |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
❤️ Great PR @samurai00 ❤️ 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.75.0](v1.74.11...v1.75.0) <sup>Released on **2025-03-26**</sup> #### ✨ Features - **misc**: Add reasoning content selector and update AutoScroll component, add Xinference provider support. #### 💄 Styles - **misc**: Add Gemini 2.5 Pro Experimental model, improve editing scroll experience. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Add reasoning content selector and update AutoScroll component, closes [#7056](#7056) ([800d675](800d675)) * **misc**: Add Xinference provider support, closes [#7081](#7081) ([e32c8e7](e32c8e7)) #### Styles * **misc**: Add Gemini 2.5 Pro Experimental model, closes [#7153](#7153) ([4213d20](4213d20)) * **misc**: Improve editing scroll experience, closes [#7149](#7149) ([816331f](816331f)) </details> <div align="right"> [](#readme-top) </div>
|
🎉 This PR is included in version 1.75.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
This PR addresses an issue where the chat window doesn't automatically scroll to the bottom during AI's deep reasoning process, even when the reasoning block is expanded. The changes ensure that updates in reasoning content will now trigger automatic scrolling.
mainAILatestMessageReasoningContentselector to retrieve the reasoning content of the latest message.AutoScrollcomponent to include the new reasoning content in its effect dependencies.📝 补充信息 | Additional Information