chore: update pipeline.py (#8285)

minor fix
This commit is contained in:
Ikko Eltociear Ashimine 2024-09-24 23:17:31 +09:00 committed by GitHub
parent 74f7c6fdfb
commit ef60016d79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ class Pipeline(PipelineBase):
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)