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

♻️ refactor: refactor the plugin prompts #4520

Merged
merged 2 commits into from
Oct 27, 2024
Merged

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Oct 27, 2024

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

Copy link

vercel bot commented Oct 27, 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 27, 2024 6:15pm
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 27, 2024 6:15pm

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

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


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

Name Status Preview Updated (UTC)
lobe-chat-preview ✅ Ready (Inspect) Visit Preview Oct 27, 2024 5:55pm

Copy link

codecov bot commented Oct 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.30%. Comparing base (6e55865) to head (e77a062).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4520   +/-   ##
=======================================
  Coverage   92.30%   92.30%           
=======================================
  Files         496      498    +2     
  Lines       36206    36238   +32     
  Branches     2179     2182    +3     
=======================================
+ Hits        33419    33451   +32     
  Misses       2787     2787           
Flag Coverage Δ
app 92.30% <100.00%> (+<0.01%) ⬆️
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 marked this pull request as ready for review October 27, 2024 18:30
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. plugin labels Oct 27, 2024
@arvinxx arvinxx merged commit 49be146 into main Oct 27, 2024
11 checks passed
@arvinxx arvinxx deleted the refactor/prompt-context branch October 27, 2024 18:31
@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 27, 2024
### [Version&nbsp;1.26.1](v1.26.0...v1.26.1)
<sup>Released on **2024-10-27**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the plugin prompts to xml format.

<br/>

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

#### Code refactoring

* **misc**: Refactor the plugin prompts to xml format, closes [#4520](#4520) ([49be146](49be146))

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

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 28, 2024
### [Version&nbsp;1.69.1](v1.69.0...v1.69.1)
<sup>Released on **2024-10-28**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the plugin prompts to xml format.

#### 🐛 Bug Fixes

- **misc**: Fix Huggingface API interrupting when the output exceeds 140 tokens, fix page not switch when clicking on the pin assistant.

#### 💄 Styles

- **misc**: Remove SenseChat-Vision model, due to model limitation.

<br/>

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

#### Code refactoring

* **misc**: Refactor the plugin prompts to xml format, closes [lobehub#4520](https://github.com/bentwnghk/lobe-chat/issues/4520) ([49be146](49be146))

#### What's fixed

* **misc**: Fix Huggingface API interrupting when the output exceeds 140 tokens, closes [lobehub#4524](https://github.com/bentwnghk/lobe-chat/issues/4524) ([49acdd7](49acdd7))
* **misc**: Fix page not switch when clicking on the pin assistant, closes [lobehub#4521](https://github.com/bentwnghk/lobe-chat/issues/4521) ([30b424a](30b424a))

#### Styles

* **misc**: Remove SenseChat-Vision model, due to model limitation, closes [lobehub#4493](https://github.com/bentwnghk/lobe-chat/issues/4493) ([2aea033](2aea033))

</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
plugin released size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants