From 527e283c51f5d19dc4d5bbe85ec17cf8e888f29b Mon Sep 17 00:00:00 2001 From: miraclebakelaser <65143272+miraclebakelaser@users.noreply.github.com> Date: Fri, 31 Jan 2025 14:17:26 +0900 Subject: [PATCH] fix: propagating json_mode to acompletion (#8133) --- litellm/llms/openai_like/chat/handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/llms/openai_like/chat/handler.py b/litellm/llms/openai_like/chat/handler.py index c34bbeabf3..ac886e915c 100644 --- a/litellm/llms/openai_like/chat/handler.py +++ b/litellm/llms/openai_like/chat/handler.py @@ -337,6 +337,7 @@ class OpenAILikeChatHandler(OpenAILikeBase): timeout=timeout, base_model=base_model, client=client, + json_mode=json_mode ) else: ## COMPLETION CALL