CanReader commented on PR #943: URL: https://github.com/apache/burr/pull/943#issuecomment-6021891756
Thanks @sangkyoonnam for checking. I Agree on keeping the ValueError, if the state points to an action the graph doesn't have anymore I'd rather it fail loudly than return None like nothing ran. Just pushed a new update: - Docstring now says it raises a ValueError when the prior action isn't in the graph (like after restoring a checkpoint saved with an older graph). - Also added the timing part from #502: in `pre_run_step` you get the action before the current one, in `post_run_step` the one that just finished, and for streaming it only moves once the stream is fully consumed. - Added `test_app_get_prior_action_not_in_graph` for the raise case. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
