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

Labels

pythonv1.0Features being tracked for the version 1.0 GAworkflowsRelated to Workflows in agent-framework

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions