Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Can we use agent.run instead of Runner.run(starting_agent=agent) #622

Copy link
Copy link
Open
@tangye1234

Description

@tangye1234
Issue body actions

Describe the feature

I'd like to propose a feature request to use agent_instance.run instead of Runner.run(starting_agent=agent_instance), as this would require less code to start an agent loop and be more intuitive for understanding and development.

This also applies to other streaming calls with Runner.run_streamed, which could be directly incorporated into agent_instance.run_streamed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.