mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
remove flaky petals test
This commit is contained in:
parent
ef065c0ed7
commit
38828ae705
1 changed files with 13 additions and 13 deletions
|
|
@ -356,19 +356,19 @@ def test_completion_together_ai():
|
|||
# except Exception as e:
|
||||
# pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
def test_petals():
|
||||
model_name = "stabilityai/StableBeluga2"
|
||||
try:
|
||||
response = completion(
|
||||
model=model_name,
|
||||
messages=messages,
|
||||
custom_llm_provider="petals",
|
||||
force_timeout=120,
|
||||
)
|
||||
# Add any assertions here to check the response
|
||||
print(response)
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
# def test_petals():
|
||||
# model_name = "stabilityai/StableBeluga2"
|
||||
# try:
|
||||
# response = completion(
|
||||
# model=model_name,
|
||||
# messages=messages,
|
||||
# custom_llm_provider="petals",
|
||||
# force_timeout=120,
|
||||
# )
|
||||
# # Add any assertions here to check the response
|
||||
# print(response)
|
||||
# except Exception as e:
|
||||
# pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
def test_completion_with_fallbacks():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue