From 76f813fb18a91bbf9dfc5b5f169adb851489c830 Mon Sep 17 00:00:00 2001 From: zachary62 Date: Wed, 5 Mar 2025 12:00:04 -0500 Subject: [PATCH] fix the exec fallback parameter issue --- docs/core_abstraction/node.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core_abstraction/node.md b/docs/core_abstraction/node.md index ce2c23c..de6586b 100644 --- a/docs/core_abstraction/node.md +++ b/docs/core_abstraction/node.md @@ -66,7 +66,7 @@ class RetryNode(Node): To **gracefully handle** the exception (after all retries) rather than raising it, override: ```python -def exec_fallback(self, shared, prep_res, exc): +def exec_fallback(self, prep_res, exc): raise exc ``` @@ -86,7 +86,7 @@ class SummarizeFile(Node): summary = call_llm(prompt) # might fail return summary - def exec_fallback(self, shared, prep_res, exc): + def exec_fallback(self, prep_res, exc): # Provide a simple fallback instead of crashing return "There was an error processing your request."