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

✨ feat: fully support ollama with browser request mode #2168

Merged
merged 6 commits into from
Apr 24, 2024

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Apr 24, 2024

Copy link

vercel bot commented Apr 24, 2024

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

Name Status Preview Comments Updated (UTC)
lobe-chat-community ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 5:35am

@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.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@arvinxx arvinxx changed the title Fix/client ollama 🐛 fix: fix ollama client request Apr 24, 2024
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

Attention: Patch coverage is 53.65854% with 38 lines in your changes missing coverage. Please review.

Project coverage is 92.69%. Comparing base (28bcbf0) to head (96653c1).
Report is 1399 commits behind head on main.

Files with missing lines Patch % Lines
src/libs/agent-runtime/ollama/index.ts 54.76% 19 Missing ⚠️
src/libs/agent-runtime/ollama/stream.ts 45.16% 17 Missing ⚠️
src/services/ollama.ts 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2168      +/-   ##
==========================================
- Coverage   92.72%   92.69%   -0.04%     
==========================================
  Files         265      268       +3     
  Lines       15392    15589     +197     
  Branches     1785     1125     -660     
==========================================
+ Hits        14273    14450     +177     
- Misses       1119     1139      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MapleEve
Copy link
Contributor

image
应该不是同一个问题,我要单独提个 Issue 吗

@lobehubbot
Copy link
Member

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


image
It shouldn’t be the same question. Should I raise a separate Issue?

@arvinxx
Copy link
Contributor Author

arvinxx commented Apr 24, 2024

@MapleEve 应该是同一个

@MapleEve
Copy link
Contributor

@MapleEve 应该是同一个

也加进来了

@lobehubbot
Copy link
Member

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


@MapleEve should be the same

Also added

@arvinxx arvinxx changed the title 🐛 fix: fix ollama client request ✨ feat: fully support ollama with browser request Apr 24, 2024
@arvinxx arvinxx changed the title ✨ feat: fully support ollama with browser request ✨ feat: fully support ollama with browser request mode Apr 24, 2024
@arvinxx arvinxx merged commit 562d189 into main Apr 24, 2024
8 of 10 checks passed
@arvinxx arvinxx deleted the fix/client-ollama branch April 24, 2024 05:38
@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 Apr 24, 2024
## [Version 0.149.0](v0.148.10...v0.149.0)
<sup>Released on **2024-04-24**</sup>

#### ✨ Features

- **misc**: Fully support ollama with browser request mode.

<br/>

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

#### What's improved

* **misc**: Fully support ollama with browser request mode, closes [#2168](#2168) ([562d189](562d189))

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

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Apr 24, 2024
## [Version&nbsp;1.29.0](v1.28.8...v1.29.0)
<sup>Released on **2024-04-24**</sup>

#### ✨ Features

- **misc**: Fully support ollama with browser request mode.

<br/>

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

#### What's improved

* **misc**: Fully support ollama with browser request mode, closes [lobehub#2168](https://github.com/bentwnghk/lobe-chat/issues/2168) ([562d189](562d189))

</details>

<div align="right">

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

</div>
TheNameIsNigel pushed a commit to TheNameIsNigel/lobe-chat that referenced this pull request May 15, 2024
* 🌐 style: add i18n

* 🐛 fix: fix ollama chat error

* 💄 style: improve ollama request mode

* 🚸 style: improve ollama setup guide

* 📝 docs: remove v1 suffix

* 🐛 fix: keep server mode if user use proxy
TheNameIsNigel pushed a commit to TheNameIsNigel/lobe-chat that referenced this pull request May 15, 2024
## [Version&nbsp;0.149.0](lobehub/lobe-chat@v0.148.10...v0.149.0)
<sup>Released on **2024-04-24**</sup>

#### ✨ Features

- **misc**: Fully support ollama with browser request mode.

<br/>

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

#### What's improved

* **misc**: Fully support ollama with browser request mode, closes [lobehub#2168](lobehub#2168) ([562d189](lobehub@562d189))

</details>

<div align="right">

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

</div>
ipoly pushed a commit to ipoly/lobe-chat that referenced this pull request Jul 29, 2024
* 🌐 style: add i18n

* 🐛 fix: fix ollama chat error

* 💄 style: improve ollama request mode

* 🚸 style: improve ollama setup guide

* 📝 docs: remove v1 suffix

* 🐛 fix: keep server mode if user use proxy
ipoly pushed a commit to ipoly/lobe-chat that referenced this pull request Jul 29, 2024
## [Version&nbsp;0.149.0](lobehub/lobe-chat@v0.148.10...v0.149.0)
<sup>Released on **2024-04-24**</sup>

#### ✨ Features

- **misc**: Fully support ollama with browser request mode.

<br/>

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

#### What's improved

* **misc**: Fully support ollama with browser request mode, closes [lobehub#2168](lobehub#2168) ([562d189](lobehub@562d189))

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