From 7c5c9a8152762d12fd515c163d42f9a30e79581d Mon Sep 17 00:00:00 2001 From: phact Date: Tue, 7 May 2024 13:41:05 -0400 Subject: [PATCH] looks like cohere does support function calling --- litellm/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/utils.py b/litellm/utils.py index c0241f1c3..75476edc7 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -4932,6 +4932,7 @@ def get_optional_params( and custom_llm_provider != "mistral" and custom_llm_provider != "anthropic" and custom_llm_provider != "cohere_chat" + and custom_llm_provider != "cohere" and custom_llm_provider != "bedrock" and custom_llm_provider != "ollama_chat" ):