Skip to content

Consider replacing T: ToolExecutor generic with dyn ToolExecutor #660

@bug-ops

Description

@bug-ops

Parent: #625

Agent<C, T> with deeply nested CompositeExecutor creates heavy monomorphization. Type-erased Box<dyn ToolExecutor> trades negligible virtual dispatch for significantly faster compilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions