fix(utils.py): fix passing additional param to post-call processing
This commit is contained in:
parent
b699d9a8b9
commit
69d06cfbcd
@ -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…
Reference in New Issue
Block a user