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 comment
kowyo92bd238b8731
diff --git a/litellm/llms/ollama/chat/transformation.py b/litellm/llms/ollama/chat/transformation.pyindex e78e9920bb0..b740eb122fd 100644--- a/litellm/llms/ollama/chat/transformation.py+++ b/litellm/llms/ollama/chat/transformation.py@@ -184,12 +184,12 @@ class OllamaChatConfig(BaseConfig):):if value.get("json_schema") and value["json_schema"].get("schema"):optional_params["format"] = value["json_schema"]["schema"]- ### FUNCTION CALLING LOGIC ###if param == "reasoning_effort" and value is not None:if model.startswith("gpt-oss"):optional_params["think"] = valueelse:optional_params["think"] = True+ ### FUNCTION CALLING LOGIC ###if param == "tools":## CHECK IF MODEL SUPPORTS TOOL CALLING ##try: