litellm/tests/unit/llms/mistral
mateo-berri 9515cde86c fix(vertex_ai): send presence_penalty, frequency_penalty and n to Vertex AI Mistral
Vertex AI Mistral names outside the cost map used to get the Llama config,
which sent these three, and Vertex accepts all three on every Mistral model
it serves. Listed names now send them too. The direct Mistral API still
leaves them out.

A tool call id that is not a string now goes to the provider as it came,
which answers 422, where the id mapping raised a 500

(cherry picked from commit a227721326)
2026-11-22 08:07:34 -08:00
..
audio_speech chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
audio_transcription fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:23:56 -08:00
batches test: migrate phase 9 legacy llm provider tests to tests/unit 2026-09-20 08:13:11 +00:00
files test: migrate phase 9 legacy llm provider tests to tests/unit 2026-09-20 08:13:11 +00:00
__init__.py test: migrate phase 9 legacy llm provider tests to tests/unit 2026-09-20 08:13:11 +00:00
test_mistral_chat_transformation.py fix(vertex_ai): send presence_penalty, frequency_penalty and n to Vertex AI Mistral 2026-11-22 08:07:34 -08:00
test_mistral_completion.py test: migrate local_testing SDK and provider tests out of build_and_test (#45760) 2026-10-10 23:14:25 +00:00
test_mistral_embedding.py test: migrate local_testing SDK and provider tests out of build_and_test (#45760) 2026-10-10 23:14:25 +00:00