From 4609dbc8252f4bdd7a7666aa2d6b0c01a77c9e0e Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Mon, 2 Oct 2023 22:56:42 -0400 Subject: [PATCH] x --- langserve/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langserve/validation.py b/langserve/validation.py index 35bb2d86..d317905e 100644 --- a/langserve/validation.py +++ b/langserve/validation.py @@ -22,7 +22,7 @@ def create_invoke_request_model( invoke_request_type = create_model( f"{namespace}InvokeRequest", input=(input_type, ...), - config=(dict, Field(default_factory=dict)), + config=(config, Field(default_factory=dict)), kwargs=(dict, Field(default_factory=dict)), ) invoke_request_type.update_forward_refs()