mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
testConnectionRequest
This commit is contained in:
parent
dede5125bb
commit
0951af499b
1 changed files with 5 additions and 1 deletions
|
@ -2290,7 +2290,11 @@ export const testConnectionRequest = async (
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
[globalLitellmHeaderName]: `Bearer ${accessToken}`
|
[globalLitellmHeaderName]: `Bearer ${accessToken}`
|
||||||
},
|
},
|
||||||
body: JSON.stringify(requestBody)
|
body: JSON.stringify(
|
||||||
|
{
|
||||||
|
litellm_params: requestBody
|
||||||
|
}
|
||||||
|
)
|
||||||
});
|
});
|
||||||
|
|
||||||
// Check for non-JSON responses first
|
// Check for non-JSON responses first
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue