testConnectionRequest

This commit is contained in:
Ishaan Jaff 2025-03-14 18:34:22 -07:00
parent 6787d0dabe
commit fa25c4ba7a

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