Update an existing step
updateStep
function updates properties of a specific step by its ID. This is typically used to mark steps as finished or update their evaluation scores.
Feature | updateStep | endStep |
---|---|---|
Requires step ID | ✅ Yes | ❌ Optional |
Can update non-active steps | ✅ Yes | ❌ No |
Can update finished steps | ✅ Yes | ❌ No |
Updates current active step reference | ❌ No | ✅ Yes |
Can update state/action/goal | ❌ No | ✅ Yes |
updateStep
when:
endStep
when:
endStep
)stepId
are optional