forked from phoenix/litellm-mirror
fix test routes on litellm proxy
This commit is contained in:
parent
0cb4dabaf0
commit
265ec00d0f
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue