mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
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
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue