mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(utils.py): return function call as part of response object
This commit is contained in:
parent
a4c9e6bd46
commit
18a8bd5543
5 changed files with 52 additions and 87 deletions
|
@ -311,7 +311,6 @@ def completion(
|
|||
non_default_params = {k: v for k,v in kwargs.items() if k not in default_params} # model-specific params - pass them straight to the model/provider
|
||||
if mock_response:
|
||||
return mock_completion(model, messages, stream=stream, mock_response=mock_response)
|
||||
|
||||
try:
|
||||
logging = litellm_logging_obj
|
||||
fallbacks = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue