mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(fix) retry cloudflare ai workers 3 times
This commit is contained in:
parent
b2be530a13
commit
f650f979c6
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ def test_get_cloudflare_response_streaming():
|
||||||
model="cloudflare/@cf/meta/llama-2-7b-chat-int8",
|
model="cloudflare/@cf/meta/llama-2-7b-chat-int8",
|
||||||
messages=messages,
|
messages=messages,
|
||||||
stream=True,
|
stream=True,
|
||||||
timeout=5,
|
num_retries=3, # cloudflare ai workers is EXTREMELY UNSTABLE
|
||||||
)
|
)
|
||||||
print(type(response))
|
print(type(response))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue