Skip to content

[Feat]: Makes cancel method of AgentExecutor default #1009

Description

@lordofthejars

Is your feature request related to a problem? Please describe.

Actually AgentExecutor requires implementation of two methods, which makes it impossible to use a lambda.

Describe the solution you'd like

So maybe it would be great to have the cancel nethod as default (maybe throwing an exception by default) so we can always override, but if not, then we can use a functional interface.

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions