fix test routes on litellm proxy
This commit is contained in:
parent
0cb4dabaf0
commit
265ec00d0f
@ -3239,6 +3239,12 @@ async def completion(
|
||||
response_class=ORJSONResponse,
|
||||
tags=["embeddings"],
|
||||
)
|
||||
@router.post(
|
||||
"/engines/{model:path}/embeddings",
|
||||
dependencies=[Depends(user_api_key_auth)],
|
||||
response_class=ORJSONResponse,
|
||||
tags=["embeddings"],
|
||||
) # azure compatible endpoint
|
||||
@router.post(
|
||||
"/openai/deployments/{model:path}/embeddings",
|
||||
dependencies=[Depends(user_api_key_auth)],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user