mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +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
Reference in a new issue