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(llm): support Ollama AI Provider (local LLM) #1293

Merged
merged 4 commits into from
Feb 13, 2024
Merged

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Feb 13, 2024

💻 变更类型 | Change Type

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

🔀 变更说明 | Description of Change

Support Ollama as an AI Model Provider, Thanks to @sjy

📝 补充信息 | Additional Information

refs:

Co-authored-by: shijianyue <shijianyue@bytedance.com>
Copy link

vercel bot commented Feb 13, 2024

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

Name Status Preview Comments Updated (UTC)
lobe-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 13, 2024 3:58pm

@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

codecov bot commented Feb 13, 2024

Codecov Report

Attention: 74 lines in your changes are missing coverage. Please review.

Comparison is base (fc08478) 86.43% compared to head (0feb504) 86.05%.
Report is 1 commits behind head on main.

Files Patch % Lines
src/libs/agent-runtime/ollama/index.ts 21.25% 63 Missing ⚠️
src/services/_auth.ts 0.00% 8 Missing ⚠️
src/app/api/errorResponse.ts 33.33% 2 Missing ⚠️
.../global/slices/settings/selectors/modelProvider.ts 95.83% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1293      +/-   ##
==========================================
- Coverage   86.43%   86.05%   -0.38%     
==========================================
  Files         215      217       +2     
  Lines       10597    10846     +249     
  Branches     1147     1149       +2     
==========================================
+ Hits         9159     9334     +175     
- Misses       1438     1512      +74     

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

@arvinxx arvinxx changed the title ✨ feat(llm): support Ollama AI Provider (local llm) ✨ feat(llm): support Ollama AI Provider (local LLM) Feb 13, 2024
@arvinxx arvinxx merged commit fbcfc96 into main Feb 13, 2024
8 of 10 checks passed
@arvinxx arvinxx deleted the feat/ollama branch February 13, 2024 16:01
@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 消息。

@lobehubbot
Copy link
Member

🎉 This PR is included in version 0.127.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Request] Local LLM SUPPORT [Request] local models [Request] LLM 适配
3 participants