Skip to content
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: Close historySummary correctly #7010

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sxjeru
Copy link
Contributor

@sxjeru sxjeru commented Mar 17, 2025

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

现在关闭“开启历史消息自动总结”后,会话中的“历史消息总结”模块会被隐藏,也不会被发送到 contents.system 中。

已经生成的 summary 并不会被删除,再次开启“开启历史消息自动总结”会继续使用之前的 summary,直到新的 summary 生成。

📝 补充信息 | Additional Information

Copy link

vercel bot commented Mar 17, 2025

@sxjeru is attempting to deploy a commit to the LobeChat Desktop 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 Mar 17, 2025
@lobehubbot
Copy link
Member

👍 @sxjeru

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.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@dosubot dosubot bot added the 🐛 Bug Something isn't working | 缺陷 label Mar 17, 2025
Copy link
Contributor

gru-agent bot commented Mar 17, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail b2f064f 🚫 Skipped No files need to be tested {"src/features/Conversation/components/History/index.tsx":"target file(src/features/Conversation/components/History/index.tsx) not in work scope \n include: src/utils,src/server,src/database,src/services,src/store,packages//src/ \n exclude: node_modules,/*.test.ts,/.test.tsx,**/.spec.ts,/*.spec.tsx,/.d.ts,**/.test.js,**/*.spec.js,src/database/server","src/store/chat/slices/aiChat/actions/generateAIChat.ts":"no test value"}

Tip

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

Copy link

codecov bot commented Mar 17, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 91.34%. Comparing base (d017f35) to head (b2f064f).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...store/chat/slices/aiChat/actions/generateAIChat.ts 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7010      +/-   ##
==========================================
- Coverage   91.34%   91.34%   -0.01%     
==========================================
  Files         733      733              
  Lines       69493    69495       +2     
  Branches     4958     3214    -1744     
==========================================
+ Hits        63478    63479       +1     
- Misses       6015     6016       +1     
Flag Coverage Δ
app 91.34% <66.66%> (-0.01%) ⬇️
server 97.49% <ø> (ø)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] 关闭历史消息自动总结后仍然包含已总结的内容
2 participants