Skip to content

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]

fix(utils.py): fix value check

Krrish Dholakia1cbf851ac227
diff --git a/litellm/utils.py b/litellm/utils.py
index b386a54ec55..165d5c09383 100644
--- a/litellm/utils.py
+++ b/litellm/utils.py
@@ -8786,7 +8786,7 @@ class CustomStreamWrapper:
if (
"litellm_param_is_function_call" in logging_obj.optional_params
and logging_obj.optional_params["litellm_param_is_function_call"]
- is not None
+ is True
):
return True