forked from phoenix/litellm-mirror
(ci/cd) retry cloudflare request 3 times
This commit is contained in:
parent
83b31141c6
commit
113b5e7284
1 changed files with 2 additions and 1 deletions
|
@ -1933,6 +1933,7 @@ def test_completion_cloudflare():
|
|||
model="cloudflare/@cf/meta/llama-2-7b-chat-int8",
|
||||
messages=[{"content": "what llm are you", "role": "user"}],
|
||||
max_tokens=15,
|
||||
num_retries=3,
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
@ -1940,7 +1941,7 @@ def test_completion_cloudflare():
|
|||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
# test_completion_cloudflare()
|
||||
test_completion_cloudflare()
|
||||
|
||||
|
||||
def test_moderation():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue