Skip to content

Command with resume argument failing #83

@areiner222

Description

@areiner222

Unable to invoke agent with a resume Command after upgrading from 0.0.8 -> 0.1.0.

inp = Command(resume={interrupt_id: {'some': 'result'})
async for mode, res in agent.astream(inp, config=config, stream_mode=["messages", "updates"]):
    ...

Getting langgraph WARNING Ignoring invalid packet type <class 'dict'> in pending sends and then the agent never runs.

Using

checkpointer = AsyncRedisSaver(
        redis_client=client,
        ttl={"default_ttl": 5, "refresh_on_read": True},
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions