Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev authored and nfcampos committed Oct 5, 2023
1 parent 8380c05 commit 4609dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langserve/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4609dbc

Please sign in to comment.