clarify the exec

This commit is contained in:
zachary62 2025-01-10 16:35:29 +00:00
parent 4bc955c5ba
commit 83bd691fdc
1 changed files with 1 additions and 0 deletions

View File

@ -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). - The **main execution** step, with optional retries and error handling (below).
- Examples: *primarily for LLMs, but can also for remote APIs*. - Examples: *primarily for LLMs, but can also for remote APIs*.
- ⚠️ If retries enabled, ensure idempotent implementation. - ⚠️ 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()`. - Returns `exec_res`, which is passed to `post()`.
3. `post(shared, prep_res, exec_res)` 3. `post(shared, prep_res, exec_res)`