Closed (fixed)
Project:
Mistral Provider
Version:
1.1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Mar 2025 at 17:07 UTC
Updated:
16 Feb 2026 at 10:44 UTC
Jump to comment: Most recent
Comments
Comment #2
marcus_johansson commentedComment #3
marcus_johansson commentedComment #4
marcus_johansson commentedBecause Mistral does not follow the OpenAI SDK exactly and does not give back a type, it will fail.
We will probably have to recreate our own OpenAIish SDK client as part of #3495572: Research new Mistral client to have this working.
Optionally see if this will be supported going forward: https://github.com/partITech/php-mistral
Comment #5
marcus_johansson commentedComment #6
marcus_johansson commentedComment #7
marcus_johansson commentedComment #11
marcus_johansson commentedI've added a MR for both tool calling and structured output. I have also renamed all camel case to underscore case. For me it doesn't matter which one we use, but we shouldn't mix :)
Note that AI Assisted code was used for this MR
Comment #12
petar_basic commentedAdded two rather minor suggestions in the MR.
Otherwise looks good.
I've tested both function calling and structured output (using instructions from #3566310 ;-) ) - all works well!
Comment #13
marcus_johansson commentedThanks for checking - I have applied both comments.
Comment #14
petar_basic commentedThanks!
Comment #15
marcus_johansson commentedThank you, getting merged!
Comment #18
arianraeesi commentedComment #19
arianraeesi commented