mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
fix(bfl): remove timeout from polling GET calls — HTTPHandler.get() doesn't accept timeout
This commit is contained in:
parent
fa165a68d9
commit
fc54a65c2b
2 changed files with 0 additions and 8 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue