mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(utils.py): fix passing additional param to post-call processing
This commit is contained in:
parent
b699d9a8b9
commit
69d06cfbcd
1 changed files with 3 additions and 1 deletions
|
@ -1351,7 +1351,9 @@ def client(original_function):
|
|||
).total_seconds() * 1000 # return response latency in ms like openai
|
||||
|
||||
### POST-CALL RULES ###
|
||||
post_call_processing(original_response=result, model=model)
|
||||
post_call_processing(
|
||||
original_response=result, model=model, optional_params=kwargs
|
||||
)
|
||||
|
||||
# [OPTIONAL] ADD TO CACHE
|
||||
if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue