petals on main

This commit is contained in:
ishaan-jaff 2023-09-19 09:27:28 -07:00
parent 9c37619e5c
commit 5f808f9f87

View file

@ -956,12 +956,9 @@ def completion(
response = model_response
elif (
custom_llm_provider == "petals"
or custom_llm_provider == "petals-team"
or model in litellm.petals_models
):
custom_llm_provider = "petals"
print("model on petals")
print(model)
model_response = petals.completion(
model=model,
messages=messages,