From a912bb8bb9f2b980f767e7b4111daf2a4bd29d07 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 12:28:25 +0000 Subject: [PATCH] fix: correct comment about base_url/api_base behavior when both provided MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: João --- lib/crewai/src/crewai/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crewai/src/crewai/llm.py b/lib/crewai/src/crewai/llm.py index b6f20bbf3..396b5b206 100644 --- a/lib/crewai/src/crewai/llm.py +++ b/lib/crewai/src/crewai/llm.py @@ -682,7 +682,7 @@ class LLM(BaseLLM): self.top_logprobs = top_logprobs # Sync base_url and api_base so that litellm always receives the # custom endpoint regardless of which parameter the caller supplied. - # When both are provided, api_base wins (it is the litellm-native name). + # When both are provided, both keep their explicit values. if api_base and not base_url: base_url = api_base elif base_url and not api_base: