mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-10 04:52:40 +00:00
fix: correct comment about base_url/api_base behavior when both provided
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user