-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Agent Panel: Support for Mistral Provider tool calling #29855
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
Comments
We're not trying to lock anyone into using certain models or restrict which models can be used. The providers/models that cannot use tools are only because we haven't implemented tool use for them yet. Right now our focus is building a really great experience for the Agent, and to do that we've had to necessarily focus on Claude. But tool use support will be coming for other models (and PRs that do so are welcome). |
I've edited the description of this issue to update this to a feature request for the Mistral provider to support tool calling with in the Agent Panel. Thanks for reporting. |
This comment has been minimized.
This comment has been minimized.
Closes #29855 Implement tool use handling in Mistral provider, including mapping tool call events and updating request construction. Add support for tool_choice and parallel_tool_calls in Mistral API requests. This works fine with all the existing models. Didn't touched anything else but for future. Fetching models using their models api, deducting tool call support, parallel tool calls etc should be done from model data from api response. <img width="547" alt="Screenshot 2025-05-06 at 4 52 37 PM" src="https://github.com/user-attachments/assets/4c08b544-1174-40cc-a40d-522989953448" /> Tasks: - [x] Add tool call support - [x] Auto Fetch models using mistral api - [x] Add tests for mistral crates. - [x] Fix mistral configurations for llm providers. Release Notes: - agent: Add tool call support for existing mistral models --------- Co-authored-by: Peter Tripp <peter@zed.dev> Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Hi Is the issue on my side ? Or is it not available yet in last version (maybe I don't understand the build cycle) Moreover, the doc seems in advance if the main build still does not support Mistral with tools :
|
It's not in the release changelogs (preview or stable) so probably just not released yet. |
This went out with today's Zed Preview v0.188.x In general, things in main are released on Wednesday into Preview. We ship docs immediately to reflect current main, as we do not have a fancier system such that all docs sections reflect the version(s) in which they became available. |
Thanks for the release, the details about release cycle! Also, what a great timing with devstral release! :) And thanks to the Zed for an AMAZING editor! ❤ |
Uh oh!
There was an error while loading. Please reload this page.
Summary
Currently not all providers support the tool calling necessary for use with the agent.
The Mistral provider currently lacks this functionality. (as of 2025-05-05 this has also not been implemented for LM Studio or DeepSeek too)
See also:
The text was updated successfully, but these errors were encountered: