mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
testConnectionRequest
This commit is contained in:
parent
6787d0dabe
commit
fa25c4ba7a
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue