ZIm/docs/src
Umesh Yadav 926f377c6c
language_models: Add tool use support for Mistral models (#29994)
Closes https://github.com/zed-industries/zed/issues/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>
2025-05-19 18:36:59 +02:00
..
ai language_models: Add tool use support for Mistral models (#29994) 2025-05-19 18:36:59 +02:00
development docs: Reorder macOS development documentation (#29751) 2025-05-01 17:34:17 +00:00
extensions docs: Document how to load extension grammars from the local FS during development (#30817) 2025-05-19 11:46:09 -04:00
languages docs: Fix incorrect info in C# documentation (#30891) 2025-05-17 19:05:52 +00:00
accounts.md docs: Update Claude 3.5 Sonnet context window (#30518) 2025-05-15 13:15:36 -04:00
additional-learning-materials.md update docs content (#11374) 2024-05-03 16:24:04 -06:00
channels.md Docs Party 2024 (#15876) 2024-08-09 13:37:54 -04:00
collaboration.md Clarify guests vs collaborators in project sharing docs (#22945) 2025-01-10 15:42:52 +00:00
completions.md docs: Overhaul AI documentation (#29747) 2025-05-07 01:07:12 -03:00
configuring-languages.md docs: Add link to formatter settings from configuring-languages (#29981) 2025-05-06 10:29:58 -04:00
configuring-zed.md docs: Add minimap configuration section (#30724) 2025-05-15 08:07:32 +02:00
development.md Use the development credentials provider in development by default (#25273) 2025-02-20 19:07:16 +00:00
environment.md docs: Fix typo in environment documentation (#19164) 2024-10-13 16:47:09 -04:00
extensions.md docs: Add docs for icon theme extensions (#24155) 2025-02-04 00:23:33 +00:00
fonts.md Fix casing of "macOS" (#17040) 2024-08-28 19:10:49 -04:00
getting-started.md docs: Add instructions for uninstalling Zed (#29840) 2025-05-04 17:41:36 +00:00
git.md docs: Polish AI content (#30770) 2025-05-15 13:59:17 -03:00
globs.md Glob documentation (#18789) 2024-10-15 17:21:04 -04:00
icon-themes.md icon_theme_selector: Add footer and related docs (#25042) 2025-02-20 00:02:24 +00:00
key-bindings.md Rename debug: commands to dev: (#30675) 2025-05-14 11:15:27 +02:00
languages.md docs: Add Yara language extension (#28693) 2025-04-14 12:40:13 -04:00
linux.md Remove Repology badge from README (#30857) 2025-05-17 07:01:46 +00:00
multibuffers.md Fix a typo in the multi buffers documentation (#18535) 2024-09-30 15:28:46 +03:00
outline-panel.md docs: Add tweaks to the outline panel page (#18697) 2024-10-03 12:27:42 -03:00
remote-development.md Fix docs on remote extensions (#30631) 2025-05-13 16:50:46 +02:00
repl.md docs: Add tweaks to the REPL page (#18000) 2024-09-18 07:34:39 -03:00
snippets.md docs: Add better snippets documentation (#26853) 2025-03-19 18:05:05 +01:00
SUMMARY.md docs: Polish AI content (#30770) 2025-05-15 13:59:17 -03:00
system-requirements.md Use proper codenames for macOS versions (#28766) 2025-04-15 14:18:40 +00:00
tasks.md docs: Fix name for zed: open project tasks command (#28578) 2025-04-11 09:31:58 -06:00
telemetry.md Stop sending data to Clickhouse (#21763) 2024-12-10 08:47:29 -07:00
themes.md chore: remove redundant word in comment (#30338) 2025-05-09 07:33:20 +00:00
vim.md vim: Create anyquotes, anybrackets, miniquotes, and minibrackets text objects (#26748) 2025-04-29 22:09:27 +00:00
windows.md docs: Fix #windows Discord channel name (#27659) 2025-03-28 08:41:07 -04:00
workspace-persistence.md feedback: Update issue template URL (#28790) 2025-04-15 21:36:30 -04:00