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

✨ feat: support system agent config #4474

Merged
merged 5 commits into from
Oct 25, 2024
Merged

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Oct 24, 2024

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

优化 System Agent Config 实现。

添加 query rewrite agent 可视化配置,支持关闭 rewrite、配置自定义 rewrite prompt

📝 补充信息 | Additional Information

Copy link

vercel bot commented Oct 24, 2024

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 Oct 25, 2024 3:25am
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2024 3:25am

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 24, 2024
@lobehubbot
Copy link
Member

👍 @arvinxx

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 💄 Design Design an style | 样式问题 label Oct 24, 2024
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 70.00000% with 15 lines in your changes missing coverage. Please review.

Project coverage is 92.25%. Comparing base (9fb2641) to head (431f221).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/store/chat/slices/aiChat/actions/rag.ts 0.00% 13 Missing ⚠️
src/chains/rewriteQuery.ts 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4474      +/-   ##
==========================================
- Coverage   92.28%   92.25%   -0.03%     
==========================================
  Files         493      493              
  Lines       35707    35734      +27     
  Branches     2316     2318       +2     
==========================================
+ Hits        32951    32968      +17     
- Misses       2756     2766      +10     
Flag Coverage Δ
app 92.25% <70.00%> (-0.03%) ⬇️
server 97.33% <ø> (ø)

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.

@arvinxx arvinxx merged commit 63ba4d3 into main Oct 25, 2024
10 of 11 checks passed
@arvinxx arvinxx deleted the style/support-system-agent-config branch October 25, 2024 04:22
@lobehubbot
Copy link
Member

❤️ Great PR @arvinxx ❤️

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 Oct 25, 2024
## [Version&nbsp;1.23.0](v1.22.27...v1.23.0)
<sup>Released on **2024-10-25**</sup>

#### ✨ Features

- **misc**: Support system agent config.

<br/>

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

#### What's improved

* **misc**: Support system agent config, closes [#4474](#4474) ([63ba4d3](63ba4d3))

</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.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Oct 25, 2024
## [Version&nbsp;1.66.0](v1.65.12...v1.66.0)
<sup>Released on **2024-10-25**</sup>

#### ✨ Features

- **misc**: Support system agent config.

#### 💄 Styles

- **misc**: Add bedrock claude-3.5-sonnect-v2.

<br/>

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

#### What's improved

* **misc**: Support system agent config, closes [lobehub#4474](https://github.com/bentwnghk/lobe-chat/issues/4474) ([63ba4d3](63ba4d3))

#### Styles

* **misc**: Add bedrock claude-3.5-sonnect-v2, closes [lobehub#4468](https://github.com/bentwnghk/lobe-chat/issues/4468) ([a7fc251](a7fc251))

</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
💄 Design Design an style | 样式问题 released size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
2 participants