Skip to content

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]

fix test codestral api

Ishaan Jaff16d09b1dd3b6
diff --git a/litellm/llms/text_completion_codestral.py b/litellm/llms/text_completion_codestral.py
index a6865b9533c..9dbe3bb37bf 100644
--- a/litellm/llms/text_completion_codestral.py
+++ b/litellm/llms/text_completion_codestral.py
@@ -365,6 +365,7 @@ class CodestralTextCompletion(BaseLLM):
stream = optional_params.pop("stream", False)
data = {
+ "model": model,
"prompt": prompt,
**optional_params,
}