mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(proxy_server.py): fix tagging of endpoints
This commit is contained in:
parent
8c6d5b7f16
commit
cc0294b2f2
1 changed files with 4 additions and 4 deletions
|
@ -3066,13 +3066,13 @@ async def embeddings(
|
||||||
"/v1/images/generations",
|
"/v1/images/generations",
|
||||||
dependencies=[Depends(user_api_key_auth)],
|
dependencies=[Depends(user_api_key_auth)],
|
||||||
response_class=ORJSONResponse,
|
response_class=ORJSONResponse,
|
||||||
tags=["image generation"],
|
tags=["images"],
|
||||||
)
|
)
|
||||||
@router.post(
|
@router.post(
|
||||||
"/images/generations",
|
"/images/generations",
|
||||||
dependencies=[Depends(user_api_key_auth)],
|
dependencies=[Depends(user_api_key_auth)],
|
||||||
response_class=ORJSONResponse,
|
response_class=ORJSONResponse,
|
||||||
tags=["image generation"],
|
tags=["images"],
|
||||||
)
|
)
|
||||||
async def image_generation(
|
async def image_generation(
|
||||||
request: Request,
|
request: Request,
|
||||||
|
@ -3217,13 +3217,13 @@ async def image_generation(
|
||||||
"/v1/audio/transcriptions",
|
"/v1/audio/transcriptions",
|
||||||
dependencies=[Depends(user_api_key_auth)],
|
dependencies=[Depends(user_api_key_auth)],
|
||||||
response_class=ORJSONResponse,
|
response_class=ORJSONResponse,
|
||||||
tags=["image generation"],
|
tags=["audio"],
|
||||||
)
|
)
|
||||||
@router.post(
|
@router.post(
|
||||||
"/audio/transcriptions",
|
"/audio/transcriptions",
|
||||||
dependencies=[Depends(user_api_key_auth)],
|
dependencies=[Depends(user_api_key_auth)],
|
||||||
response_class=ORJSONResponse,
|
response_class=ORJSONResponse,
|
||||||
tags=["image generation"],
|
tags=["audio"],
|
||||||
)
|
)
|
||||||
async def audio_transcriptions(
|
async def audio_transcriptions(
|
||||||
request: Request,
|
request: Request,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue