-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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: upgrade to the new tool calls
mode
#2414
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
tool calls
mode
考虑支持一下Ollama么 |
Consider supporting Ollama? |
@BrandonStudio Ollama 本身不支持 Function Calling,等他们支持了我们就很容易支持 |
Ollama 应该是支持的吧?Langchain 可以用 https://python.langchain.com/v0.1/docs/integrations/chat/ollama_functions/ |
Ollama should support it, right? Langchain can be used https://python.langchain.com/v0.1/docs/integrations/chat/ollama_functions/ |
c4bd791
to
d4965b2
Compare
ee5bd4e
to
c086945
Compare
0737e82
to
b047563
Compare
❤️ 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. |
That is a huge improvement of tool calls. Eager to try it out 😁. |
## [Version 0.157.0](v0.156.2...v0.157.0) <sup>Released on **2024-05-11**</sup> #### ✨ Features - **misc**: upgrade to the new `tool calls` mode. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: upgrade to the new `tool calls` mode, closes [#2414](#2414) ([7404f3b](7404f3b)) </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 0.157.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [Version 1.37.0](v1.36.2...v1.37.0) <sup>Released on **2024-05-12**</sup> #### ✨ Features - **misc**: upgrade to the new `tool calls` mode. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: upgrade to the new `tool calls` mode, closes [lobehub#2414](https://github.com/bentwnghk/lobe-chat/issues/2414) ([7404f3b](7404f3b)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
* ✨ feat: finish OpenAI stream tool_calls protocol * 💄 style: design the Tool Call UI * ✨ feat: support zhipu GLM tool calling * ✨ feat: support moonshot function calling * ✨ feat: support groq tool callings * ✨ feat: azure openai stream tool calling * ✨ feat: support minimax tool calling * ✨ feat: support mistral tool calling * ✨ feat: support google tool calling * ✨ feat: support anthropic tool calling * ♻️ refactor: refactor ollama stream * ♻️ refactor: refactor the protocol stream transformer * ♻️ refactor: refactor the bedrock stream * ♻️ refactor: remove Stream Text Response * ✅ test: clean some tests * 🗃️ refactor: import and export tool migration * 🗃️ refactor: migrate database * ✅ test: fix test * ♻️ refactor: refactor createCallbacksTransformer to fix tests * ✅ test: add tests for runtime * ✅ test: add more tests * ✅ test: add test * 🎨 chore: improve code * 🐛 fix: fix auto meta
## [Version 0.157.0](lobehub/lobe-chat@v0.156.2...v0.157.0) <sup>Released on **2024-05-11**</sup> #### ✨ Features - **misc**: upgrade to the new `tool calls` mode. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: upgrade to the new `tool calls` mode, closes [lobehub#2414](lobehub#2414) ([7404f3b](lobehub@7404f3b)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
* ✨ feat: finish OpenAI stream tool_calls protocol * 💄 style: design the Tool Call UI * ✨ feat: support zhipu GLM tool calling * ✨ feat: support moonshot function calling * ✨ feat: support groq tool callings * ✨ feat: azure openai stream tool calling * ✨ feat: support minimax tool calling * ✨ feat: support mistral tool calling * ✨ feat: support google tool calling * ✨ feat: support anthropic tool calling * ♻️ refactor: refactor ollama stream * ♻️ refactor: refactor the protocol stream transformer * ♻️ refactor: refactor the bedrock stream * ♻️ refactor: remove Stream Text Response * ✅ test: clean some tests * 🗃️ refactor: import and export tool migration * 🗃️ refactor: migrate database * ✅ test: fix test * ♻️ refactor: refactor createCallbacksTransformer to fix tests * ✅ test: add tests for runtime * ✅ test: add more tests * ✅ test: add test * 🎨 chore: improve code * 🐛 fix: fix auto meta
## [Version 0.157.0](lobehub/lobe-chat@v0.156.2...v0.157.0) <sup>Released on **2024-05-11**</sup> #### ✨ Features - **misc**: upgrade to the new `tool calls` mode. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: upgrade to the new `tool calls` mode, closes [lobehub#2414](lobehub#2414) ([7404f3b](lobehub@7404f3b)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
Tool Calling 调用模式升级
支持更多有 Function Calling 能力的 Provider 使用插件
📝 补充信息 | Additional Information
refs: