Skip to content

Commit

Permalink
fix: fix usage of input model (#6163)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanFM authored Apr 10, 2024
1 parent f091fd6 commit 1ba90ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jina/serve/runtimes/worker/http_csp_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async def process(body) -> output_model:
if body.parameters is not None:
req.parameters = body.parameters
req.header.exec_endpoint = endpoint_path
req.document_array_cls = DocList[input_doc_model]
req.document_array_cls = DocList[input_doc_list_model]

data = body.data
if isinstance(data, list):
Expand Down

0 comments on commit 1ba90ee

Please sign in to comment.