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
Wrong parameter mapping for "frequency_penalty" to "repeat_penalty" in Ollama/completion/transformation.py (#11284)
VigneshwarRajasekaran9df61ef08bf7
diff --git a/litellm/llms/ollama/completion/transformation.py b/litellm/llms/ollama/completion/transformation.pyindex 133554befeb..9ccb8810736 100644--- a/litellm/llms/ollama/completion/transformation.py+++ b/litellm/llms/ollama/completion/transformation.py@@ -173,7 +173,7 @@ class OllamaConfig(BaseConfig):if param == "top_p":optional_params["top_p"] = valueif param == "frequency_penalty":- optional_params["repeat_penalty"] = value+ optional_params["frequency_penalty"] = valueif param == "stop":optional_params["stop"] = valueif param == "response_format" and isinstance(value, dict):