fix swagger

This commit is contained in:
Ishaan Jaff 2024-11-20 17:39:21 -08:00
parent 1d44660635
commit 61fee8eca2

View file

@ -5654,6 +5654,7 @@ async def moderations(
tags=["[beta] Anthropic `/v1/messages`"], tags=["[beta] Anthropic `/v1/messages`"],
dependencies=[Depends(user_api_key_auth)], dependencies=[Depends(user_api_key_auth)],
response_model=AnthropicResponse, response_model=AnthropicResponse,
include_in_schema=False,
) )
async def anthropic_response( # noqa: PLR0915 async def anthropic_response( # noqa: PLR0915
anthropic_data: AnthropicMessagesRequest, anthropic_data: AnthropicMessagesRequest,