Skip to content

Agent async iteration skips userprompt node? #1347

@diego898

Description

@diego898

Question

In the async iteration of an agent's graph [docs] why dont we actually get to the first UserPromptNode?

When we use async iteration directly, seems we skip the first node:

 print(nodes)
    """
    [
        ModelRequestNode(

When we use next manually, [docs] we do see the entire agent graph.:

print(all_nodes)
        """
        [
            UserPromptNode(

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions