(feat) show costs.json in proxy_server.py

This commit is contained in:
ishaan-jaff 2023-10-12 15:07:37 -07:00
parent 78d60f000e
commit 4b3e4c97b8

View file

@ -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())