(testing) - add e2e tests for anthropic pass through endpoints (#6840)

* tests - add e2e tests for anthropic pass through

* fix swagger

* fix pass through tests
This commit is contained in:
Ishaan Jaff 2024-11-20 17:55:13 -08:00 committed by GitHub
parent c107bae7ae
commit cc1f8ff0ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 79 additions and 0 deletions

View file

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