I am having a simple chat Workflow that posts a request_info event after every chat completion response.
The chat workflow is equiped with a custom SQL MemoryStorage which saves the WorkflowCheckpoint between SuperStepStartedEvent and SuperStepCompletedEvent.
However it is never able to save the request_info event to the pending_request_info_events, since the request_info is always posted after the SuperStepCompletedEvent, this leads to a partial WorkflowCheckpoint restore and failng to continue a workflow with pending requests.
So I wonder if this is a logical BUG?, or is there a way get the WorkflowCheckponint outside the MemoryStorage so that I can determine when to save the Workflowchechpoint
Thanks