mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix get optional params
This commit is contained in:
parent
8f1b88c40b
commit
5a19ee1a71
10 changed files with 93 additions and 75 deletions
|
@ -19,7 +19,8 @@ class HuggingfaceError(Exception):
|
|||
|
||||
# contains any default values we need to pass to the provider
|
||||
HuggingfaceConfig = {
|
||||
"return_full_text": False # override by setting - completion(..,return_full_text=True)
|
||||
"return_full_text": False, # override by setting - completion(..,return_full_text=True)
|
||||
"details": True # needed for getting logprobs etc. for tgi models. override by setting - completion(..., details=False)
|
||||
}
|
||||
|
||||
def validate_environment(api_key):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue