Skip to content

Add sync iter and stream methods #3005

@eiriksteen

Description

@eiriksteen

Description

Could we get sync versions of agent.run_stream() and agent.iter(), similar to how we have agent.run_sync() as the sync analogy to agent.run()? I need to run the agents in an environment without async support, and need both streaming and iterating through the graph

References

No response

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