lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

💄 style: Support Qwen3 `thinking_budget` param

Open sxjeru opened this issue 7 months ago • 4 comments

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

之前看的太快,没发现 Qwen3 也支持了硬性截断思考过程的特性。

https://help.aliyun.com/zh/model-studio/deep-thinking?spm=a2c4g#6f0633b9cdts1

📝 补充信息 | Additional Information

sxjeru avatar Apr 29 '25 14:04 sxjeru

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 29 '25 14:04 vercel[bot]

👍 @sxjeru

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 avatar Apr 29 '25 14:04 lobehubbot

TestGru Assignment

Summary

Link CommitId Status Reason
Detail abb9f36cad840569163ce5f2aee9edb3717d412b 🚫 Skipped TestGru usage exceeded. Please upgrade your plan in the namespace settings.Upgrade

[!TIP] You can @gru-agent and leave your feedback. TestGru will make adjustments based on your input

gru-agent[bot] avatar Apr 29 '25 14:04 gru-agent[bot]

Codecov Report

Attention: Patch coverage is 90.24390% with 4 lines in your changes missing coverage. Please review.

Project coverage is 88.38%. Comparing base (71683b7) to head (727723b). Report is 25 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/qwen/index.ts 20.00% 4 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7643      +/-   ##
==========================================
+ Coverage   88.36%   88.38%   +0.02%     
==========================================
  Files         814      814              
  Lines       58711    58832     +121     
  Branches     5338     5540     +202     
==========================================
+ Hits        51878    51997     +119     
- Misses       6833     6835       +2     
Flag Coverage Δ
app 88.38% <90.24%> (+0.02%) :arrow_up:
server 95.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Apr 29 '25 14:04 codecov[bot]

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 Apr 30, 2025 9:29am

vercel[bot] avatar Apr 30 '25 08:04 vercel[bot]

截断已生效。

image

sxjeru avatar Apr 30 '25 10:04 sxjeru

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


The truncation has taken effect.

image

lobehubbot avatar Apr 30 '25 10:04 lobehubbot

❤️ Great PR @sxjeru ❤️

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 avatar Apr 30 '25 16:04 lobehubbot

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

The release is available on:

Your semantic-release bot :package::rocket:

lobehubbot avatar Apr 30 '25 17:04 lobehubbot