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

🐛 fix: fix ollama intergration checker and client fetch error #5665

Merged
merged 11 commits into from
Feb 2, 2025

Conversation

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 2, 2025
Copy link

vercel bot commented Feb 2, 2025

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

Name Status Preview Comments Updated (UTC)
lobe-chat-database ✅ Ready (Inspect) Visit Preview Feb 2, 2025 9:29am
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2025 9:29am

Copy link

codecov bot commented Feb 2, 2025

Codecov Report

Attention: Patch coverage is 52.72727% with 26 lines in your changes missing coverage. Please review.

Project coverage is 92.14%. Comparing base (4b41ad4) to head (7e5839f).
Report is 61 commits behind head on main.

Files with missing lines Patch % Lines
src/database/repositories/aiInfra/index.ts 27.27% 24 Missing ⚠️
src/services/aiProvider/client.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5665      +/-   ##
==========================================
- Coverage   92.16%   92.14%   -0.03%     
==========================================
  Files         647      647              
  Lines       57652    57675      +23     
  Branches     4269     4073     -196     
==========================================
+ Hits        53137    53142       +5     
- Misses       4515     4533      +18     
Flag Coverage Δ
app 92.14% <52.72%> (-0.03%) ⬇️
server 98.01% <100.00%> (+<0.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.

@dosubot dosubot bot added the 🐛 Bug Something isn't working | 缺陷 label Feb 2, 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.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link

gru-agent bot commented Feb 2, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail e7d8c5f 🚫 Skipped No files need to be tested {"src/config/aiModels/ollama.ts":"The code does not contain any functions or classes.","src/config/modelProviders/ollama.ts":"The code does not contain any functions or classes.","src/app/(main)/settings/provider/(detail)/ollama/page.tsx":"no test value"}

Tip

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

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Feb 2, 2025
@dosubot dosubot bot removed the size:XXL This PR changes 1000+ lines, ignoring generated files. label Feb 2, 2025
@arvinxx arvinxx changed the title 🐛 fix: fix ollama intergration checker 🐛 fix: fix ollama intergration checker and client fetch issue Feb 2, 2025
@arvinxx arvinxx changed the title 🐛 fix: fix ollama intergration checker and client fetch issue 🐛 fix: fix ollama intergration checker and client fetch error Feb 2, 2025
@arvinxx arvinxx merged commit cd09a07 into main Feb 2, 2025
10 of 11 checks passed
@arvinxx arvinxx deleted the fix/ollama branch February 2, 2025 09:36
@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 Feb 2, 2025
### [Version&nbsp;1.49.11](v1.49.10...v1.49.11)
<sup>Released on **2025-02-02**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix ollama intergration checker and client fetch issue.

<br/>

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

#### What's fixed

* **misc**: Fix ollama intergration checker and client fetch issue, closes [#5665](#5665) ([cd09a07](cd09a07))

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

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Feb 2, 2025
### [Version&nbsp;1.91.6](v1.91.5...v1.91.6)
<sup>Released on **2025-02-02**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `<think>` tag crash with special markdown content, fix can not stop generating, fix ollama intergration checker and client fetch issue.

<br/>

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

#### What's fixed

* **misc**: Fix `<think>` tag crash with special markdown content, closes [lobehub#5670](https://github.com/bentwnghk/lobe-chat/issues/5670) ([b719522](b719522))
* **misc**: Fix can not stop generating, closes [lobehub#5671](https://github.com/bentwnghk/lobe-chat/issues/5671) ([ae39c35](ae39c35))
* **misc**: Fix ollama intergration checker and client fetch issue, closes [lobehub#5665](https://github.com/bentwnghk/lobe-chat/issues/5665) ([cd09a07](cd09a07))

</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