mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-12 01:05:43 +00:00
fix test routes on litellm proxy
This commit is contained in:
@@ -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)],
|
||||
|
||||
Reference in New Issue
Block a user