Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

Comment

Louis Choquelbe06c1aa6102
diff --git a/pipelex/pipe_operators/ocr/pipe_ocr.py b/pipelex/pipe_operators/ocr/pipe_ocr.py
index b76966156..1d9838d8e 100644
--- a/pipelex/pipe_operators/ocr/pipe_ocr.py
+++ b/pipelex/pipe_operators/ocr/pipe_ocr.py
@@ -108,6 +108,7 @@ class PipeOcr(PipeOperator[PipeOcrOutput]):
case StaticValidationReaction.RAISE:
raise missing_input_var_error
+ # We have confirmed right above that we have exactly one input
# get input_name, requirement from single item in inputs
input_name, requirement = self.inputs.items[0]
log.debug(f"{input_name=}")