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(plugin): update plugin prompt #5083

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

BrandonStudio
Copy link
Contributor

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

Update system prompt template for plugins.

📝 补充信息 | Additional Information

Linked to #4860.

Copy link

vercel bot commented Dec 19, 2024

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

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 19, 2024
@lobehubbot
Copy link
Member

👍 @BrandonStudio

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

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.32%. Comparing base (9684c98) to head (90a5c19).
Report is 132 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5083      +/-   ##
==========================================
- Coverage   92.32%   92.32%   -0.01%     
==========================================
  Files         568      568              
  Lines       43204    43201       -3     
  Branches     3978     3822     -156     
==========================================
- Hits        39887    39884       -3     
  Misses       3317     3317              
Flag Coverage Δ
app 92.32% <100.00%> (-0.01%) ⬇️
server 97.66% <ø> (ø)

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.

@BrandonStudio
Copy link
Contributor Author

@arvinxx Could you do some tests on other models like GPT, Claude, Gemini, etc.?

Copy link

vercel bot commented Dec 19, 2024

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

Name Status Preview Comments Updated (UTC)
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 26, 2024 1:42am

@arvinxx
Copy link
Contributor

arvinxx commented Dec 25, 2024

@BrandonStudio 能merge 下 main 吗? deploy 挂掉的情况下没法测试

@lobehubbot
Copy link
Member

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


@BrandonStudio Can you merge to master? Unable to test when deploy hangs

@arvinxx arvinxx merged commit ddd3b53 into lobehub:main Jan 14, 2025
7 of 8 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @BrandonStudio ❤️

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 Jan 14, 2025
### [Version&nbsp;1.45.14](v1.45.13...v1.45.14)
<sup>Released on **2025-01-14**</sup>

#### ♻ Code Refactoring

- **plugin**: Update plugin prompt.

<br/>

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

#### Code refactoring

* **plugin**: Update plugin prompt, closes [#5083](#5083) ([ddd3b53](ddd3b53))

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

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Jan 14, 2025
### [Version&nbsp;1.87.7](v1.87.6...v1.87.7)
<sup>Released on **2025-01-14**</sup>

#### ♻ Code Refactoring

- **plugin**: Update plugin prompt.
- **misc**: Improve ai provider code.

#### 🐛 Bug Fixes

- **misc**: Fix `enable_search` parameter intro condition in Qwen, fix pull models error in new ai provider, fix some providers  issues, support Gemini 2.0 HarmBlockThreshold.

#### 💄 Styles

- **misc**: Improve model config form modal.

<br/>

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

#### Code refactoring

* **plugin**: Update plugin prompt, closes [lobehub#5083](https://github.com/bentwnghk/lobe-chat/issues/5083) ([ddd3b53](ddd3b53))
* **misc**: Improve ai provider code, closes [lobehub#5442](https://github.com/bentwnghk/lobe-chat/issues/5442) ([32013b4](32013b4))

#### What's fixed

* **misc**: Fix `enable_search` parameter intro condition in Qwen, closes [lobehub#5297](https://github.com/bentwnghk/lobe-chat/issues/5297) ([0b19c20](0b19c20))
* **misc**: Fix pull models error in new ai provider, closes [lobehub#5441](https://github.com/bentwnghk/lobe-chat/issues/5441) ([1726d85](1726d85))
* **misc**: Fix some providers  issues, closes [lobehub#5429](https://github.com/bentwnghk/lobe-chat/issues/5429) ([b7edbd3](b7edbd3))
* **misc**: Support Gemini 2.0 HarmBlockThreshold, closes [lobehub#5422](https://github.com/bentwnghk/lobe-chat/issues/5422) ([4d1a4cd](4d1a4cd))

#### Styles

* **misc**: Improve model config form modal, closes [lobehub#5438](https://github.com/bentwnghk/lobe-chat/issues/5438) ([9b303e0](9b303e0))

</details>

<div align="right">

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

</div>
gecsp pushed a commit to gecsp/lobe-chat that referenced this pull request Jan 22, 2025
gecsp pushed a commit to gecsp/lobe-chat that referenced this pull request Jan 22, 2025
### [Version&nbsp;1.45.14](lobehub/lobe-chat@v1.45.13...v1.45.14)
<sup>Released on **2025-01-14**</sup>

#### ♻ Code Refactoring

- **plugin**: Update plugin prompt.

<br/>

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

#### Code refactoring

* **plugin**: Update plugin prompt, closes [lobehub#5083](lobehub#5083) ([ddd3b53](lobehub@ddd3b53))

</details>

<div align="right">

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

</div>
ramu-narasinga pushed a commit to ramu-narasinga/lobe-chat that referenced this pull request Feb 17, 2025
ramu-narasinga pushed a commit to ramu-narasinga/lobe-chat that referenced this pull request Feb 17, 2025
### [Version&nbsp;1.45.14](lobehub/lobe-chat@v1.45.13...v1.45.14)
<sup>Released on **2025-01-14**</sup>

#### ♻ Code Refactoring

- **plugin**: Update plugin prompt.

<br/>

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

#### Code refactoring

* **plugin**: Update plugin prompt, closes [lobehub#5083](lobehub#5083) ([ddd3b53](lobehub@ddd3b53))

</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:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants