Skip to content

chore: remove async_executor param in ToolInvoker #9548

@Amnah199

Description

@Amnah199

With the update introduced in PR #9530, the async_executor parameter has been deprecated in ToolInvoker. As a result:

  • The async_executor argument should now be removed from the __init__ method.

  • The internal flag self._owns_executor is no longer necessary and should also be removed as part of this cleanup.

This aligns with the new approach of using the max_workers parameter to manage parallel execution via a default ThreadPoolExecutor.

Checklist

Tasks

Metadata

Metadata

Assignees

Labels

P1High priority, add to the next sprintbreaking change

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions