diff --git a/backend/modules/assistant/ito/summary.py b/backend/modules/assistant/ito/summary.py index c97740313..8ba187536 100644 --- a/backend/modules/assistant/ito/summary.py +++ b/backend/modules/assistant/ito/summary.py @@ -50,7 +50,7 @@ class SummaryAssistant(ITO): if len(self.files) > 1: raise ValueError("Only one file can be uploaded") if not self.input.inputs.files: - raise ValueError("No files key were given in the input") + raise ValueError("No files were given in the input") if len(self.input.inputs.files) > 1: raise ValueError("Only one file can be uploaded") if not self.input.inputs.files[0].key == "doc_to_summarize":