-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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: Enabled function calling on Deepseek models #3312
Conversation
@ZachZimm is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for raising your pull request and contributing to our Community |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3312 +/- ##
========================================
Coverage 94.18% 94.18%
========================================
Files 398 398
Lines 24893 24895 +2
Branches 2884 2698 -186
========================================
+ Hits 23445 23447 +2
Misses 1448 1448
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
支持不支持,为啥是写死的,我要是one api 中转换个名字啥的,就没法用了,难顶 |
Is it supported or not? Why is it hard-coded? If I change a name or something in One API, it won’t work. It’s hard to explain. |
The way that lobe-hub is set up, yes it is hard-coded whether each model can use tools. Until that provider gets the ability to fetch model details over the API. Function calling is supported by Deepseek AI (docs). |
❤️ Great PR @ZachZimm ❤️ 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. |
## [Version 1.7.0](v1.6.15...v1.7.0) <sup>Released on **2024-07-26**</sup> #### ✨ Features - **misc**: Enabled function calling on Deepseek models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Enabled function calling on Deepseek models, closes [#3312](#3312) ([35f31cb](35f31cb)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 1.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [Version 1.7.0](lobehub/lobe-chat@v1.6.15...v1.7.0) <sup>Released on **2024-07-26**</sup> #### ✨ Features - **misc**: Enabled function calling on Deepseek models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Enabled function calling on Deepseek models, closes [lobehub#3312](lobehub#3312) ([35f31cb](lobehub@35f31cb)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
## [Version 1.50.0](v1.49.10...v1.50.0) <sup>Released on **2024-07-26**</sup> #### ✨ Features - **misc**: Enabled function calling on Deepseek models. #### 💄 Styles - **misc**: Fix file upload height. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Enabled function calling on Deepseek models, closes [lobehub#3312](https://github.com/bentwnghk/lobe-chat/issues/3312) ([35f31cb](35f31cb)) #### Styles * **misc**: Fix file upload height, closes [lobehub#3319](https://github.com/bentwnghk/lobe-chat/issues/3319) ([8343f35](8343f35)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
The Deepseek API supports function calling and I tested to make sure it works.
📝 补充信息 | Additional Information
This pull request is meant to address Issue, close #3310
Unsurprisingly the DALLE plugin does not work, although I did not test with an OpenAI key.