fix -show num rate limit errors

This commit is contained in:
Ishaan Jaff 2024-05-30 20:50:52 -07:00
parent a71fa5c7bf
commit 5088024dc6
2 changed files with 156 additions and 18 deletions

View file

@ -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: {