golang / oscar

[mirror] Open source contributor agent architecture repo.
BSD 3-Clause "New" or "Revised" License
148 stars 19 forks source link

allow an action to be retried #30

Open jba opened 1 month ago

jba commented 1 month ago

Currently the action log provides no way to retry a failed action. There should be an actions.Reset function that removes result and error fields and sets the "done" time to zero, so the action will be re-run. (It also needs to be added to the pending list.)