mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(feat) proxy: cost tracking add track_cost_callback
This commit is contained in:
parent
b03a7ae0cd
commit
0a23af7990
2 changed files with 11 additions and 2 deletions
|
@ -5,7 +5,7 @@ from typing import Optional
|
|||
|
||||
def track_cost_callback(
|
||||
kwargs, # kwargs to completion
|
||||
completion_response: ModelResponse, # response from completion
|
||||
completion_response: ModelResponse, # response from completion
|
||||
start_time = None,
|
||||
end_time = None, # start/end time for completion
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue