Skip to content

style: add ollama qwen models #7903

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

wyangx
Copy link
Contributor

@wyangx wyangx commented May 20, 2025

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

modelProviders里添加 Qwen3 模型,让自部署的模型正常显示
修改前
CleanShot 2025-05-20 at 19 13 18@2x
修改后
CleanShot 2025-05-20 at 19 13 49@2x

📝 补充信息 | Additional Information

Copy link

vercel bot commented May 20, 2025

@wyangx 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 May 20, 2025
@lobehubbot
Copy link
Member

👍 @wyangx

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 ollama Relative to Ollama Provider and ollama models label May 20, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Added support for Qwen3 model series in the Ollama provider configuration, expanding local deployment options with 8 new models ranging from 0.6B to 235B parameters.

  • Added 8 new Qwen3 models in /src/config/modelProviders/ollama.ts with sizes: 0.6B, 1.7B, 4B, 8B, 14B, 30B, 32B, and 235B
  • Each Qwen3 model includes 131K context window (32K for smaller models), function calling and reasoning capabilities
  • Set release date to April 28, 2025 for all Qwen3 models
  • Models feature Chinese descriptions highlighting improved reasoning, general capabilities, and agent functionality
  • Configured with consistent property structure including contextWindowTokens, functionCall, and reasoning flags

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

Comment on lines +69 to +70
'Qwen3是一款能力大幅提升的新一代通义千问大模型,在推理、通用、Agent和多语言等多个核心能力上均达到业界领先水平,并支持思考模式切换。',
displayName: 'Qwen3 0.6B',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Description is in Chinese while other model descriptions are in English. Consider translating for consistency.

Suggested change
'Qwen3是一款能力大幅提升的新一代通义千问大模型,在推理、通用、Agent和多语言等多个核心能力上均达到业界领先水平,并支持思考模式切换。',
displayName: 'Qwen3 0.6B',
'Qwen3 is a next-generation model with significantly improved capabilities, achieving industry-leading performance in reasoning, general tasks, agent behaviors, and multilingual support, with switchable thinking modes.',
displayName: 'Qwen3 0.6B',

Copy link

codecov bot commented May 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.50%. Comparing base (5b0154f) to head (71a9048).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7903      +/-   ##
==========================================
+ Coverage   88.48%   88.50%   +0.01%     
==========================================
  Files         821      821              
  Lines       60165    60245      +80     
  Branches     3999     3998       -1     
==========================================
+ Hits        53237    53317      +80     
  Misses       6928     6928              
Flag Coverage Δ
app 88.50% <100.00%> (+0.01%) ⬆️
server 95.65% <ø> (ø)

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.

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

Copy link
Contributor

@arvinxx arvinxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modelProviders 的配置不再修改了,后续都使用 aiModels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ollama Relative to Ollama Provider and ollama models 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