Skip to content

Conversation

@arvinxx
Copy link
Member

@arvinxx arvinxx commented May 8, 2025

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

  • qwen3 作为 ollama provider 模型
  • 重构 FileService ,为知识库 2.0 做准备

📝 补充信息 | Additional Information

@vercel
Copy link

vercel bot commented May 8, 2025

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

Name Status Preview Comments Updated (UTC)
lobe-chat-database 🛑 Canceled (Inspect) May 8, 2025 5:03pm
lobe-chat-preview 🛑 Canceled (Inspect) May 8, 2025 5:03pm

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label May 8, 2025
@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.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@dosubot dosubot bot added provider:ollama Ollama provider and models 💄 Design Design and style issues labels May 8, 2025
@gru-agent
Copy link
Contributor

gru-agent bot commented May 8, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail e0c2367 ✅ Finished

Files

File Pull Request
src/server/routers/async/file.ts 🛑 Cancelled (Canceled by Auto Rebase Detail)
src/server/services/file/index.ts 🛑 Cancelled (Canceled by Auto Rebase Detail)
src/server/routers/lambda/user.ts 🛑 Cancelled (Canceled by Auto Rebase Detail)
src/server/routers/lambda/ragEval.ts 🛑 Cancelled (Canceled by Auto Rebase Detail)
src/server/routers/lambda/message.ts 🛑 Cancelled (Canceled by Auto Rebase Detail)
src/server/routers/lambda/importer.ts 🛑 Cancelled (Canceled by Auto Rebase Detail)
src/server/routers/lambda/file.ts 🛑 Cancelled (Canceled by Auto Rebase Detail)
src/server/utils/tempFileManager.ts 🛑 Cancelled (Canceled by Auto Rebase Detail)

Tip

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

@codecov
Copy link

codecov bot commented May 8, 2025

Codecov Report

Attention: Patch coverage is 54.16667% with 22 lines in your changes missing coverage. Please review.

Project coverage is 88.54%. Comparing base (07d5374) to head (2629dbf).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
src/server/services/file/index.ts 26.66% 22 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7746      +/-   ##
==========================================
- Coverage   88.57%   88.54%   -0.03%     
==========================================
  Files         813      813              
  Lines       59050    59088      +38     
  Branches     5392     5593     +201     
==========================================
+ Hits        52303    52319      +16     
- Misses       6747     6769      +22     
Flag Coverage Δ
app 88.54% <54.16%> (-0.03%) ⬇️
server 95.74% <ø> (ø)

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.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels May 8, 2025
@gru-agent
Copy link
Contributor

gru-agent bot commented May 8, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail 2629dbf ✅ Finished

Files

File Pull Request
src/server/utils/tempFileManager.ts 🔴 Closed #7749
src/server/routers/async/file.ts ❌ Failure (I failed to write the unit tests for the file.)
src/server/services/file/index.ts ❌ Failure (I failed to write the unit tests for the file.)
src/server/routers/lambda/user.ts 🚫 Skipped (There's no need to update the test code)
src/server/routers/lambda/ragEval.ts 🟢 Open #7756
src/server/routers/lambda/message.ts 🔴 Closed #7748
src/server/routers/lambda/importer.ts 🔴 Closed #7750
src/server/routers/lambda/file.ts 🟣 Merged #7760

Tip

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

@arvinxx arvinxx changed the title Style/add qwen3 for ollama 💄 style: add qwen3 for ollama May 8, 2025
@arvinxx arvinxx merged commit 806d905 into main May 8, 2025
44 of 45 checks passed
@arvinxx arvinxx deleted the style/add-qwen3-for-ollama branch May 8, 2025 17:37
@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 May 8, 2025
### [Version&nbsp;1.84.26](v1.84.25...v1.84.26)
<sup>Released on **2025-05-08**</sup>

#### 💄 Styles

- **misc**: Add qwen3 for ollama.

<br/>

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

#### Styles

* **misc**: Add qwen3 for ollama, closes [#7746](#7746) ([806d905](806d905))

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

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to jaworldwideorg/OneJA-Bot that referenced this pull request May 12, 2025
## [Version&nbsp;1.85.0](v1.84.16...v1.85.0)
<sup>Released on **2025-05-12**</sup>

#### ♻ Code Refactoring

- **misc**: Add perf stat support for openai factory, Remove doubao Provider, upgrade anthropic sdk.

#### ✨ Features

- **misc**: Support upload files direct into chat context.

#### 🐛 Bug Fixes

- **misc**: Fix changelog issue on desktop app, fix config import issue in the desktop version, fix desktop upload image on macOS, fix electron state init on window, fix nothing return when reset the client db, fix streamable http url valid and refactor local files to local system, fix window close issue and release Window/Linux beta, remove mcp client cache.

#### 💄 Styles

- **misc**: Add new gemini & Mistral models, add qwen3 for ollama, add Qwen3 models for infiniai, add reasoning tokens and token usage statistics for Google Gemini, add write file tool to local-file plugin, add Xiaohongshu crawler rules, fix init state of loading, improve pdf and xlsx file content parser, Show Aliyun Bailian tokens usage tracking.

<br/>

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

#### Code refactoring

* **misc**: Add perf stat support for openai factory, closes [lobehub#7677](https://github.com/jaworldwideorg/OneJA-Bot/issues/7677) ([40464d1](40464d1))
* **misc**: Remove doubao Provider, closes [lobehub#7573](https://github.com/jaworldwideorg/OneJA-Bot/issues/7573) ([0cf3bcc](0cf3bcc))
* **misc**: Upgrade anthropic sdk, closes [lobehub#7773](https://github.com/jaworldwideorg/OneJA-Bot/issues/7773) ([39e871f](39e871f))

#### What's improved

* **misc**: Support upload files direct into chat context, closes [lobehub#7751](https://github.com/jaworldwideorg/OneJA-Bot/issues/7751) ([39b790e](39b790e))

#### What's fixed

* **misc**: Fix changelog issue on desktop app, closes [lobehub#7740](https://github.com/jaworldwideorg/OneJA-Bot/issues/7740) ([f0a12af](f0a12af))
* **misc**: Fix config import issue in the desktop version, closes [lobehub#7800](https://github.com/jaworldwideorg/OneJA-Bot/issues/7800) ([2cb8635](2cb8635))
* **misc**: Fix desktop upload image on macOS, closes [lobehub#7741](https://github.com/jaworldwideorg/OneJA-Bot/issues/7741) ([07d5374](07d5374))
* **misc**: Fix electron state init on window, closes [lobehub#7707](https://github.com/jaworldwideorg/OneJA-Bot/issues/7707) ([ef05b49](ef05b49))
* **misc**: Fix nothing return when reset the client db, closes [lobehub#7738](https://github.com/jaworldwideorg/OneJA-Bot/issues/7738) ([90efb13](90efb13))
* **misc**: Fix streamable http url valid and refactor local files to local system, closes [lobehub#7794](https://github.com/jaworldwideorg/OneJA-Bot/issues/7794) ([37fd5fe](37fd5fe))
* **misc**: Fix window close issue and release Window/Linux beta, closes [lobehub#7780](https://github.com/jaworldwideorg/OneJA-Bot/issues/7780) ([82c48b9](82c48b9))
* **misc**: Remove mcp client cache, closes [lobehub#7776](https://github.com/jaworldwideorg/OneJA-Bot/issues/7776) ([0582134](0582134))

#### Styles

* **misc**: Add new gemini & Mistral models, closes [lobehub#7730](https://github.com/jaworldwideorg/OneJA-Bot/issues/7730) ([b7753e2](b7753e2))
* **misc**: Add qwen3 for ollama, closes [lobehub#7746](https://github.com/jaworldwideorg/OneJA-Bot/issues/7746) ([806d905](806d905))
* **misc**: Add Qwen3 models for infiniai, closes [lobehub#7657](https://github.com/jaworldwideorg/OneJA-Bot/issues/7657) ([edd1732](edd1732))
* **misc**: Add reasoning tokens and token usage statistics for Google Gemini, closes [lobehub#7501](https://github.com/jaworldwideorg/OneJA-Bot/issues/7501) ([b466b42](b466b42))
* **misc**: Add write file tool to local-file plugin, closes [lobehub#7684](https://github.com/jaworldwideorg/OneJA-Bot/issues/7684) ([e22e932](e22e932))
* **misc**: Add Xiaohongshu crawler rules, closes [lobehub#7717](https://github.com/jaworldwideorg/OneJA-Bot/issues/7717) ([cc3724d](cc3724d))
* **misc**: Fix init state of loading, closes [lobehub#7694](https://github.com/jaworldwideorg/OneJA-Bot/issues/7694) ([1d97a68](1d97a68))
* **misc**: Improve pdf and xlsx file content parser, closes [lobehub#7783](https://github.com/jaworldwideorg/OneJA-Bot/issues/7783) ([0376870](0376870))
* **misc**: Show Aliyun Bailian tokens usage tracking, closes [lobehub#7660](https://github.com/jaworldwideorg/OneJA-Bot/issues/7660) ([3ef0542](3ef0542))

</details>

<div align="right">

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

</div>
bbbugg pushed a commit to bbbugg/lobe-chat that referenced this pull request Aug 14, 2025
* make qwen3 default

* refactor TempFileManager

* refactor file service

* clean
bbbugg pushed a commit to bbbugg/lobe-chat that referenced this pull request Aug 14, 2025
### [Version&nbsp;1.84.26](lobehub/lobe-chat@v1.84.25...v1.84.26)
<sup>Released on **2025-05-08**</sup>

#### 💄 Styles

- **misc**: Add qwen3 for ollama.

<br/>

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

#### Styles

* **misc**: Add qwen3 for ollama, closes [lobehub#7746](lobehub#7746) ([cf8ca59](lobehub@cf8ca59))

</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 and style issues provider:ollama Ollama provider and models 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