mirror of https://github.com/aliasrobotics/cai.git
FIX litellm.drop_params=true for gemini
This commit is contained in:
parent
696c79a049
commit
99e4cc1604
|
|
@ -93,7 +93,7 @@ if TYPE_CHECKING:
|
|||
# Suppress debug info from litellm
|
||||
litellm.suppress_debug_info = True
|
||||
|
||||
if os.getenv('CAI_MODEL') == "o3-mini":
|
||||
if os.getenv('CAI_MODEL') == "o3-mini" or os.getenv('CAI_MODEL') == "gemini-1.5-pro":
|
||||
litellm.drop_params = True
|
||||
|
||||
_USER_AGENT = f"Agents/Python {__version__}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue