[Bugfix][Frontend] Document 404 response for /generative_scoring (#58788)

Signed-off-by: Nick Hill <nickhill123@gmail.com>
Co-authored-by: Kimi Code <noreply@moonshot.cn>
This commit is contained in:
Nick Hill
2026-09-25 14:08:00 -07:00
committed by GitHub
co-authored by Kimi Code
parent 7871963fcc
commit de2d478d9a
@@ -32,6 +32,7 @@ def generative_scoring(request: Request) -> ServingGenerativeScoring | None:
dependencies=[Depends(validate_json_request)],
responses={
HTTPStatus.BAD_REQUEST.value: {"model": ErrorResponse},
HTTPStatus.NOT_FOUND.value: {"model": ErrorResponse},
HTTPStatus.INTERNAL_SERVER_ERROR.value: {"model": ErrorResponse},
},
)