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

💄 style: add parallel_tool_calls support for Qwen #5584

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

hezhijie0327
Copy link
Contributor

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

Qwen 支持了 parallel_tool_calls 参数,并行调用多个工具

截图
image

📝 补充信息 | Additional Information

ref: https://help.aliyun.com/zh/model-studio/developer-reference/use-qwen-by-calling-api
image

Copy link

vercel bot commented Jan 25, 2025

@hezhijie0327 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 size:XS This PR changes 0-9 lines, ignoring generated files. 💄 Design Design an style | 样式问题 labels Jan 25, 2025
@lobehubbot
Copy link
Member

👍 @hezhijie0327

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 Jan 25, 2025

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 92.14%. Comparing base (45ad962) to head (b144ec7).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/qwen/index.ts 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5584      +/-   ##
==========================================
- Coverage   92.14%   92.14%   -0.01%     
==========================================
  Files         644      644              
  Lines       57368    57371       +3     
  Branches     2897     4063    +1166     
==========================================
+ Hits        52864    52865       +1     
- Misses       4504     4506       +2     
Flag Coverage Δ
app 92.14% <33.33%> (-0.01%) ⬇️
server 98.01% <ø> (ø)

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.

Copy link

vercel bot commented Jan 25, 2025

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 Jan 25, 2025 3:50am

@arvinxx arvinxx merged commit b89aeeb into lobehub:main Jan 25, 2025
8 of 9 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @hezhijie0327 ❤️

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 25, 2025
### [Version&nbsp;1.48.2](v1.48.1...v1.48.2)
<sup>Released on **2025-01-25**</sup>

#### 💄 Styles

- **misc**: Add `parallel_tool_calls` support for Qwen, fix tag version and add provider changelog.

<br/>

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

#### Styles

* **misc**: Add `parallel_tool_calls` support for Qwen, closes [#5584](#5584) ([b89aeeb](b89aeeb))
* **misc**: Fix tag version and add provider changelog, closes [#5582](#5582) ([63c571b](63c571b))

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

The release is available on:

Your semantic-release bot 📦🚀

@hezhijie0327 hezhijie0327 deleted the qwen_parallel_fc branch January 25, 2025 04:13
github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Jan 25, 2025
### [Version&nbsp;1.90.1](v1.90.0...v1.90.1)
<sup>Released on **2025-01-25**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix ollama Browser Request failed in PG mode.

#### 💄 Styles

- **misc**: Add `parallel_tool_calls` support for Qwen, fix tag version and add provider changelog.

<br/>

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

#### What's fixed

* **misc**: Fix ollama Browser Request failed in PG mode, closes [lobehub#5585](https://github.com/bentwnghk/lobe-chat/issues/5585) ([b2f3c33](b2f3c33))

#### Styles

* **misc**: Add `parallel_tool_calls` support for Qwen, closes [lobehub#5584](https://github.com/bentwnghk/lobe-chat/issues/5584) ([b89aeeb](b89aeeb))
* **misc**: Fix tag version and add provider changelog, closes [lobehub#5582](https://github.com/bentwnghk/lobe-chat/issues/5582) ([63c571b](63c571b))

</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:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants