forked from phoenix/litellm-mirror
(feat) show costs.json in proxy_server.py
This commit is contained in:
parent
78d60f000e
commit
4b3e4c97b8
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ async def v1_chat_completion(request: Request):
|
|||
return response
|
||||
|
||||
def print_cost_logs():
|
||||
with open('cost.log', 'r') as f:
|
||||
with open('costs.json', 'r') as f:
|
||||
# print this in green
|
||||
print("\033[1;32m")
|
||||
print(f.read())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue