Skip to content

delegated-tools: batch resolveTools seam to avoid N queries on tools/list #88

@drewstone

Description

@drewstone

From gtm-agent#250: handleDelegatedToolCall calls resolveTool(workspaceId, name) once per allowed tool to build tools/list. gtm's resolveTool runs a DB query each call, so a K-tool list = K queries (was 1 in the bespoke handler). A resolveTools(workspaceId, names[]) batch seam (with resolveTool as the single-name convenience) closes the regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions