From 645ddc40e6303e214d00a1194b2743681cda4a7f Mon Sep 17 00:00:00 2001 From: Harris Tsim Date: Sat, 4 May 2024 15:41:15 -0700 Subject: [PATCH] fix: [DO NOT MERGE] not validate input schema --- langserve/api_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langserve/api_handler.py b/langserve/api_handler.py index 346e89dc..8669a4da 100644 --- a/langserve/api_handler.py +++ b/langserve/api_handler.py @@ -776,7 +776,7 @@ async def _get_config_and_input( # using configuration. schema = self._runnable.with_config(config).input_schema input_ = schema.validate(body.input) - return config, _unpack_input(input_) + return config, _unpack_input(body.input) except ValidationError as e: raise RequestValidationError(e.errors(), body=body)