litellm/tests/unit/llms/mistral
ryan-crabbe-berri fdc16fd9d7
fix(mistral): drop message fields Mistral rejects when drop_params is on (#53962)
* test(mistral): cover client-only message fields under drop_params

* test(mistral): cover client-only message fields Mistral rejects

* fix(mistral): drop message fields Mistral rejects under drop_params, else fail early with a hint

* fix(mistral): type the request body read back from the parent

* fix(mistral): send unknown message fields through unless drop_params is on

* test(mistral): drive the message field e2e tests through the OpenAI SDK

* test(mistral): mark the e2e message type fields read-only
2026-11-24 02:33:58 +00: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:07:15 -08:00
batches test: migrate phase 9 legacy llm provider tests to tests/unit 2026-09-20 08:13:11 +00:00
count_tokens test(responses): align bridged system prompt expectations (#52693) 2026-11-19 00:27:35 +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(mistral): drop message fields Mistral rejects when drop_params is on (#53962) 2026-11-24 02:33:58 +00: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