forked from phoenix/litellm-mirror
try passing tests
This commit is contained in:
parent
5b5bd59783
commit
d2e29ea0ca
2 changed files with 4 additions and 4 deletions
|
@ -283,8 +283,8 @@ def completion(
|
|||
],
|
||||
}
|
||||
response = new_response
|
||||
else:
|
||||
logging(model=model, input=messages, azure=azure, logger_fn=logger_fn)
|
||||
else:
|
||||
raise Exception(f"Model '{model}' not found. Please check your model name and try again.")
|
||||
return response
|
||||
except Exception as e:
|
||||
logging(model=model, input=messages, azure=azure, additional_args={"max_tokens": max_tokens}, logger_fn=logger_fn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue