mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix - ui filter exceptions by modelGroup
This commit is contained in:
parent
2084cfd959
commit
d3152e606f
1 changed files with 3 additions and 1 deletions
|
@ -526,7 +526,9 @@ export const modelExceptionsCall = async (
|
||||||
*/
|
*/
|
||||||
try {
|
try {
|
||||||
let url = proxyBaseUrl ? `${proxyBaseUrl}/model/metrics/exceptions` : `/model/metrics/exceptions`;
|
let url = proxyBaseUrl ? `${proxyBaseUrl}/model/metrics/exceptions` : `/model/metrics/exceptions`;
|
||||||
|
if (modelGroup) {
|
||||||
|
url = `${url}?_selected_model_group=${modelGroup}`
|
||||||
|
}
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
method: "GET",
|
method: "GET",
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue