From 83bd691fdcc82ef675a763424f6a75ca6ca71e1f Mon Sep 17 00:00:00 2001 From: zachary62 Date: Fri, 10 Jan 2025 16:35:29 +0000 Subject: [PATCH] clarify the exec --- docs/node.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/node.md b/docs/node.md index d933730..1398bfd 100644 --- a/docs/node.md +++ b/docs/node.md @@ -18,6 +18,7 @@ A **Node** is the smallest building block. Each Node has 3 steps: - The **main execution** step, with optional retries and error handling (below). - Examples: *primarily for LLMs, but can also for remote APIs*. - ⚠️ If retries enabled, ensure idempotent implementation. + - ⚠️ This step must not write to the `shared` store. If reading from `shared` is necessary, retrieve and pass it along in `prep()`. - Returns `exec_res`, which is passed to `post()`. 3. `post(shared, prep_res, exec_res)`