The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: serialize boolean provider params as lowercase strings
Chesars354f44c661cf
diff --git a/litellm/llms/mistral/audio_transcription/transformation.py b/litellm/llms/mistral/audio_transcription/transformation.pyindex 609035576e7..fd84d63c4fa 100644--- a/litellm/llms/mistral/audio_transcription/transformation.py+++ b/litellm/llms/mistral/audio_transcription/transformation.py@@ -121,7 +121,7 @@ class MistralAudioTranscriptionConfig(BaseAudioTranscriptionConfig):openai_params=self.get_supported_openai_params(model),)for key, value in provider_specific_params.items():- form_fields[key] = str(value)+ form_fields[key] = str(value).lower() if isinstance(value, bool) else str(value)files = {"file": (diff --git a/tests/test_litellm/llms/mistral/audio_transcription/test_mistral_audio_transcription_transformation.py b/tests/test_litellm/llms/mistral/audio_transcription/test_mistral_audio_transcription_transformation.pyindex 6dc5133f665..7ef50dede0c 100644--- a/tests/test_litellm/llms/mistral/audio_transcription/test_mistral_audio_transcription_transformation.py+++ b/tests/test_litellm/llms/mistral/audio_transcription/test_mistral_audio_transcription_transformation.py@@ -141,7 +141,7 @@ def test_mistral_audio_transcription_request_with_diarize():audio_file.close()assert isinstance(result.data, dict)- assert result.data["diarize"] == "True"+ assert result.data["diarize"] == "true"def test_mistral_audio_transcription_response_transform():