Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: Xinyao Wang <[email protected]>
  • Loading branch information
XinyaoWa committed Dec 17, 2024
1 parent 08f791b commit f8ca3a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DocSum/docsum.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ def align_inputs(self, inputs, cur_node, runtime_graph, llm_parameters_dict, **k
if self.services[cur_node].service_type == ServiceType.LLM:
docsum_parameters = kwargs.get("docsum_parameters", None)
if docsum_parameters:
docsum_parameters = docsum_parameters.dict()
del docsum_parameters["query"]
inputs.update(docsum_parameters.dict())
inputs.update(docsum_parameters)
return inputs


Expand Down

0 comments on commit f8ca3a7

Please sign in to comment.