codestralmodel is good for code generation and editing.mistral-large-latestmodel is good for most use-cases.open-mistral-nemois a free model that is good for most use-cases.pixtral-12b-2409is a vision model that is good for OCR, transcribing documents, and image comparison. It is not always capable at tool calling.
Authentication
Set yourMISTRAL_API_KEY environment variable. Get your key from here.
Example
UseMistral with your Agent:
View more examples here.
Params
MistralChat is a subclass of the Model class and has access to the same params.