Skip to content

Python: Checkpoint never stores pending_request_info_events #3039

@shawl336

Description

@shawl336

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions