lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.83k stars 10.08k forks source link

🐛 fix: keyword search for chat history & sessions #4725

Closed cy948 closed 3 days ago

cy948 commented 4 days ago

💻 变更类型 | Change Type

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

run tests

pnpm vitest --run --testNamePattern='^ ?SessionModel' ./src/database/server/models/__tests__/session.test.ts --config vitest.server.config.ts
vercel[bot] commented 4 days ago

@cy948 is attempting to deploy a commit to the LobeChat Community Team on Vercel.

A member of the Team first needs to authorize it.

lobehubbot commented 4 days ago

👍 @cy948

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

codecov[bot] commented 3 days ago

Codecov Report

Attention: Patch coverage is 80.00000% with 10 lines in your changes missing coverage. Please review.

Project coverage is 92.33%. Comparing base (38ae7f9) to head (6a0d71d). Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
src/database/server/models/session.ts 76.74% 10 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4725 +/- ## ========================================== - Coverage 92.42% 92.33% -0.10% ========================================== Files 526 528 +2 Lines 36826 36951 +125 Branches 2517 2368 -149 ========================================== + Hits 34038 34120 +82 - Misses 2788 2831 +43 ``` | [Flag](https://app.codecov.io/gh/lobehub/lobe-chat/pull/4725/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lobehub) | Coverage Δ | | |---|---|---| | [app](https://app.codecov.io/gh/lobehub/lobe-chat/pull/4725/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lobehub) | `92.33% <80.00%> (-0.10%)` | :arrow_down: | | [server](https://app.codecov.io/gh/lobehub/lobe-chat/pull/4725/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lobehub) | `96.41% <79.59%> (-0.85%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lobehub#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

vercel[bot] commented 3 days ago

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

Name Status Preview Comments Updated (UTC)
lobe-chat-database ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 3:20am
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 3:20am
lobehubbot commented 3 days ago

❤️ Great PR @cy948 ❤️

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 消息。

lobehubbot commented 3 days ago

:tada: This PR is included in version 1.32.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: