Merge branch 'main' into litellm_end_user_spend_tracking

This commit is contained in:
Krish Dholakia 2024-02-29 19:31:19 -08:00 committed by GitHub
commit 5f9cd5a4f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 305 additions and 135 deletions

View file

@ -280,7 +280,7 @@ export const modelAvailableCall = async (
export const keySpendLogsCall = async (accessToken: String, token: String) => {
try {
const url = proxyBaseUrl ? `${proxyBaseUrl}/spend/logs` : `/spend/logs`;
const url = proxyBaseUrl ? `${proxyBaseUrl}/global/spend/logs` : `/global/spend/logs`;
console.log("in keySpendLogsCall:", url);
const response = await fetch(`${url}/?api_key=${token}`, {
method: "GET",