forked from phoenix/litellm-mirror
petals on main
This commit is contained in:
parent
9c37619e5c
commit
5f808f9f87
1 changed files with 0 additions and 3 deletions
|
@ -956,12 +956,9 @@ def completion(
|
||||||
response = model_response
|
response = model_response
|
||||||
elif (
|
elif (
|
||||||
custom_llm_provider == "petals"
|
custom_llm_provider == "petals"
|
||||||
or custom_llm_provider == "petals-team"
|
|
||||||
or model in litellm.petals_models
|
or model in litellm.petals_models
|
||||||
):
|
):
|
||||||
custom_llm_provider = "petals"
|
custom_llm_provider = "petals"
|
||||||
print("model on petals")
|
|
||||||
print(model)
|
|
||||||
model_response = petals.completion(
|
model_response = petals.completion(
|
||||||
model=model,
|
model=model,
|
||||||
messages=messages,
|
messages=messages,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue