From 3f1167e5b7c4dbc0f66e5dd02656966a3a3cc582 Mon Sep 17 00:00:00 2001 From: Chesars Date: Thu, 26 Feb 2026 00:22:10 -0300 Subject: [PATCH] fix(constants): remove "null" from OPENAI_FINISH_REASONS to align with OpenAI spec --- litellm/constants.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/constants.py b/litellm/constants.py index 1b86c6b61aa..a7a8f53cd40 100644 --- a/litellm/constants.py +++ b/litellm/constants.py @@ -1202,7 +1202,6 @@ OPENAI_FINISH_REASONS = [ "function_call", "tool_calls", "content_filter", - "null", ] HUMANLOOP_PROMPT_CACHE_TTL_SECONDS = int( os.getenv("HUMANLOOP_PROMPT_CACHE_TTL_SECONDS", 60)