mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-25 05:07:03 +00:00
14feb5e454
* Enhance Mistral API: Add support for parallel tool calls and refine name handling in tool messages. Plus, introduce a new test for parallel tool calls in the Mistral model. * tests * make mypy happy * Refine name handling in Mistral chat transformation: clarify conditions for removing the 'name' field based on message role and content. * refactor: streamline Mistral integration by removing deprecated references and adding a new handler - Removed "mistral" from the list of compatible providers in constants. - Updated the completion function in main.py to utilize the new Mistral handler. - Deleted outdated Mistral chat and embedding files. - Introduced a new handler for Mistral chat completions, implementing the llm_http_handler pattern. - Added integration tests for the Mistral handler to ensure proper API base and key handling. * lint * fix: remove unneeded handler object * add tests * Addres PR comments