This commit is contained in:
Krrish Dholakia 2023-08-29 18:23:34 -07:00
parent 727f5f2c87
commit c63cef96b1

View file

@ -348,13 +348,13 @@ def test_completion_together_ai():
pytest.fail(f"Error occurred: {e}") pytest.fail(f"Error occurred: {e}")
def test_vertex_ai(): # def test_vertex_ai():
model_name = "chat-bison" # model_name = "chat-bison"
try: # try:
response = completion(model=model_name, messages=messages, logger_fn=logger_fn) # response = completion(model=model_name, messages=messages, logger_fn=logger_fn)
print(response) # print(response)
except Exception as e: # except Exception as e:
pytest.fail(f"Error occurred: {e}") # pytest.fail(f"Error occurred: {e}")
def test_petals(): def test_petals():
model_name = "stabilityai/StableBeluga2" model_name = "stabilityai/StableBeluga2"