forked from phoenix/litellm-mirror
(fix) retry cloudflare ai workers 3 times
This commit is contained in:
parent
6694975ec3
commit
20256c45ad
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