- Make MistralAiChatClient extend the AbstractFunctionCallSupport and implement the necessary abstract classes.
- Extend the MistralAiApi to include the latest (undocumented) changes providing function calling support as well.
The Mistral AI is almost identical to the OpenAI API except it doesn't support parallel function colling (e.g. missing tool_call_id).
- Add MistralAiApi function calling tests (implement the Mistral tutorial).
- Extend the misral chat options to include the new API features and function call abstractions.
- Extend Mistral's chat auto-configration to accomodate the function callback support.
- Add ITs for testing function calling.
- Remove redundant code from MistralAiApi and OpenAiApi.
- Simplify and improve the HTTP error handling in OpenAiApi, ImageAiApi and MistralAiApi.