mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix -show num rate limit errors
This commit is contained in:
parent
a71fa5c7bf
commit
5088024dc6
2 changed files with 156 additions and 18 deletions
|
@ -1246,7 +1246,8 @@ export const adminGlobalActivityExceptions = async (
|
|||
export const adminGlobalActivityExceptionsPerDeployment = async (
|
||||
accessToken: String,
|
||||
startTime: String | undefined,
|
||||
endTime: String | undefined
|
||||
endTime: String | undefined,
|
||||
modelGroup: String,
|
||||
) => {
|
||||
try {
|
||||
let url = proxyBaseUrl
|
||||
|
@ -1257,6 +1258,10 @@ export const adminGlobalActivityExceptionsPerDeployment = async (
|
|||
url += `?start_date=${startTime}&end_date=${endTime}`;
|
||||
}
|
||||
|
||||
if (modelGroup) {
|
||||
url += `&model_group=${modelGroup}`;
|
||||
}
|
||||
|
||||
const requestOptions: {
|
||||
method: string;
|
||||
headers: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue