testConnectionRequest

This commit is contained in:
Ishaan Jaff 2025-03-14 18:34:22 -07:00
parent dede5125bb
commit 0951af499b

View file

@ -2290,7 +2290,11 @@ export const testConnectionRequest = async (
'Content-Type': 'application/json',
[globalLitellmHeaderName]: `Bearer ${accessToken}`
},
body: JSON.stringify(requestBody)
body: JSON.stringify(
{
litellm_params: requestBody
}
)
});
// Check for non-JSON responses first