From 37e57a0e5fe23068ddc7c6a9374629edbc465abe Mon Sep 17 00:00:00 2001 From: Michael Verunica Date: Wed, 13 Aug 2025 18:43:02 +0200 Subject: [PATCH] fix(azure): remove trailing semicolon in Content-Type header for image generation (#13584) --- litellm/images/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/images/main.py b/litellm/images/main.py index b808388d83e..9ce83ccc18a 100644 --- a/litellm/images/main.py +++ b/litellm/images/main.py @@ -311,7 +311,7 @@ def image_generation( # noqa: PLR0915 ) or get_secret_str("AZURE_AD_TOKEN") default_headers = { - "Content-Type": "application/json;", + "Content-Type": "application/json", "api-key": api_key, } for k, v in default_headers.items():