From fc54a65c2bc1664deed4c61dd42133a85ae37772 Mon Sep 17 00:00:00 2001 From: Chesars Date: Wed, 4 Mar 2026 23:07:02 -0300 Subject: [PATCH] =?UTF-8?q?fix(bfl):=20remove=20timeout=20from=20polling?= =?UTF-8?q?=20GET=20calls=20=E2=80=94=20HTTPHandler.get()=20doesn't=20acce?= =?UTF-8?q?pt=20timeout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litellm/llms/black_forest_labs/image_edit/handler.py | 4 ---- litellm/llms/black_forest_labs/image_generation/handler.py | 4 ---- 2 files changed, 8 deletions(-) diff --git a/litellm/llms/black_forest_labs/image_edit/handler.py b/litellm/llms/black_forest_labs/image_edit/handler.py index b621b113fb6..44a102ec48d 100644 --- a/litellm/llms/black_forest_labs/image_edit/handler.py +++ b/litellm/llms/black_forest_labs/image_edit/handler.py @@ -166,7 +166,6 @@ class BlackForestLabsImageEdit: initial_response=response, headers=headers, sync_client=sync_client, - timeout=timeout, ) # Transform response @@ -270,7 +269,6 @@ class BlackForestLabsImageEdit: initial_response=response, headers=headers, async_client=async_client, - timeout=timeout, ) # Transform response @@ -343,7 +341,6 @@ class BlackForestLabsImageEdit: response = sync_client.get( url=polling_url, headers=polling_headers, - timeout=timeout, ) if response.status_code != 200: @@ -424,7 +421,6 @@ class BlackForestLabsImageEdit: response = await async_client.get( url=polling_url, headers=polling_headers, - timeout=timeout, ) if response.status_code != 200: diff --git a/litellm/llms/black_forest_labs/image_generation/handler.py b/litellm/llms/black_forest_labs/image_generation/handler.py index 38c223523ff..99dc2feca3c 100644 --- a/litellm/llms/black_forest_labs/image_generation/handler.py +++ b/litellm/llms/black_forest_labs/image_generation/handler.py @@ -163,7 +163,6 @@ class BlackForestLabsImageGeneration: initial_response=response, headers=headers, sync_client=sync_client, - timeout=timeout, ) # Transform response @@ -266,7 +265,6 @@ class BlackForestLabsImageGeneration: initial_response=response, headers=headers, async_client=async_client, - timeout=timeout, ) # Transform response @@ -329,7 +327,6 @@ class BlackForestLabsImageGeneration: response = sync_client.get( url=polling_url, headers=polling_headers, - timeout=timeout, ) if response.status_code != 200: @@ -410,7 +407,6 @@ class BlackForestLabsImageGeneration: response = await async_client.get( url=polling_url, headers=polling_headers, - timeout=timeout, ) if response.status_code != 200: