Skip to content

Commit

Permalink
chore: update pipeline.py (#8285)
Browse files Browse the repository at this point in the history
minor fix
  • Loading branch information
eltociear authored Sep 24, 2024
1 parent 74f7c6f commit ef60016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/core/pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _run_component(self, name: str, inputs: Dict[str, Any]) -> Dict[str, Any]:
if not isinstance(res, Mapping):
raise PipelineRuntimeError(
f"Component '{name}' didn't return a dictionary. "
"Components must always return dictionaries: check the the documentation."
"Components must always return dictionaries: check the documentation."
)
span.set_tag("haystack.component.visits", self.graph.nodes[name]["visits"])
span.set_content_tag("haystack.component.output", res)
Expand Down

0 comments on commit ef60016

Please sign in to comment.