mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix hf conversational task bug
This commit is contained in:
parent
154aa83b5b
commit
5b294c704e
4 changed files with 11 additions and 0 deletions
|
@ -56,6 +56,7 @@ def completion(
|
|||
if task == "conversational":
|
||||
inference_params = copy.deepcopy(optional_params)
|
||||
inference_params.pop("details")
|
||||
inference_params.pop("return_full_text")
|
||||
past_user_inputs = []
|
||||
generated_responses = []
|
||||
text = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue