Skip to content

🐛 fix(chat): Improve response animation merging logic #8160

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

Merged
merged 2 commits into from
Jun 12, 2025

Conversation

Wxh16144
Copy link
Contributor

@Wxh16144 Wxh16144 commented Jun 12, 2025

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

image

📝 补充信息 | Additional Information

Copy link

vercel bot commented Jun 12, 2025

@Wxh16144 is attempting to deploy a commit to the LobeHub Community Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jun 12, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@lobehubbot
Copy link
Member

👍 @Wxh16144

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link
Contributor

gru-agent bot commented Jun 12, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail 28ff00d ✅ Finished

Files

File Pull Request
src/services/chat.ts ❌ Failed (I failed to setup the environment.)

Tip

You can @gru-agent and leave your feedback. TestGru will make adjustments based on your input

Copy link

codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.89%. Comparing base (dd4ab3f) to head (148777e).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #8160     +/-   ##
=========================================
  Coverage   87.89%   87.89%             
=========================================
  Files         836      836             
  Lines       61804    61806      +2     
  Branches     5650     3925   -1725     
=========================================
+ Hits        54322    54324      +2     
  Misses       7482     7482             
Flag Coverage Δ
app 87.89% <100.00%> (+<0.01%) ⬆️
server 95.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-authored-by: sxjeru <[email protected]>
@Wxh16144 Wxh16144 changed the title 🔧 chore: Refactor responseAnimation handling in ChatService 🐛 fix(chat): Improve response animation merging logic Jun 12, 2025
Copy link

vercel bot commented Jun 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
lobe-chat-preview ⬜️ Ignored (Inspect) Jun 12, 2025 9:01am

@arvinxx arvinxx merged commit 9d81cdc into lobehub:main Jun 12, 2025
17 of 18 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @Wxh16144 ❤️

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.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx@canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。

github-actions bot pushed a commit that referenced this pull request Jun 12, 2025
### [Version&nbsp;1.94.5](v1.94.4...v1.94.5)
<sup>Released on **2025-06-12**</sup>

#### 🐛 Bug Fixes

- **chat**: Improve response animation merging logic.

#### 💄 Styles

- **misc**: Support `web_search_preview` & fix some bug form OpenAI Response API.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **chat**: Improve response animation merging logic, closes [#8160](#8160) ([9d81cdc](9d81cdc))

#### Styles

* **misc**: Support `web_search_preview` & fix some bug form OpenAI Response API, closes [#8131](#8131) ([b2983f0](b2983f0))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.94.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to jaworldwideorg/OneJA-Bot that referenced this pull request Jun 12, 2025
### [Version&nbsp;1.94.1](v1.94.0...v1.94.1)
<sup>Released on **2025-06-12**</sup>

#### 🐛 Bug Fixes

- **chat**: Improve response animation merging logic.
- **misc**: Update Gemini range of thinkingBudget.

#### 💄 Styles

- **ModelSelect**: Improve mobile layout and text overflow handling.
- **misc**: Support `web_search_preview` & fix some bug form OpenAI Response API, Transition animation switch, update pplx abilities tags, support `vision`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **chat**: Improve response animation merging logic, closes [lobehub#8160](https://github.com/jaworldwideorg/OneJA-Bot/issues/8160) ([9d81cdc](9d81cdc))
* **misc**: Update Gemini range of thinkingBudget, closes [lobehub#8122](https://github.com/jaworldwideorg/OneJA-Bot/issues/8122) ([7331e8a](7331e8a))

#### Styles

* **ModelSelect**: Improve mobile layout and text overflow handling, closes [lobehub#8118](https://github.com/jaworldwideorg/OneJA-Bot/issues/8118) ([d97aa49](d97aa49))
* **misc**: Support `web_search_preview` & fix some bug form OpenAI Response API, closes [lobehub#8131](https://github.com/jaworldwideorg/OneJA-Bot/issues/8131) ([b2983f0](b2983f0))
* **misc**: Transition animation switch, closes [lobehub#7981](https://github.com/jaworldwideorg/OneJA-Bot/issues/7981) ([dd4ab3f](dd4ab3f))
* **misc**: Update pplx abilities tags, support `vision`, closes [lobehub#8119](https://github.com/jaworldwideorg/OneJA-Bot/issues/8119) ([5c2e5f7](5c2e5f7))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gemini 模型无法使用 更新到最新版(1.94.4)导致火山引擎API不可用
3 participants