mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
support n param for hf
This commit is contained in:
parent
9e65d6292e
commit
c7384859a3
5 changed files with 5 additions and 5 deletions
|
@ -117,7 +117,6 @@ def completion(
|
|||
inference_params = copy.deepcopy(optional_params)
|
||||
inference_params.pop("details")
|
||||
inference_params.pop("return_full_text")
|
||||
inference_params.pop("task")
|
||||
past_user_inputs = []
|
||||
generated_responses = []
|
||||
text = ""
|
||||
|
@ -181,7 +180,6 @@ def completion(
|
|||
inference_params = copy.deepcopy(optional_params)
|
||||
inference_params.pop("details")
|
||||
inference_params.pop("return_full_text")
|
||||
inference_params.pop("task")
|
||||
data = {
|
||||
"inputs": prompt,
|
||||
"parameters": inference_params,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue