Skip to content

analyze_files should filter results to the paths supplied. #259

@gspencergoog

Description

@gspencergoog

Problem

If you have a LOT of analyzer errors, but the LLM supplies paths to analyze, the analyze_files tool currently returns ALL of the analyzer errors, regardless of the paths supplied. While this can help the LLM get a bigger picture of the problems, it can also eat up a lot of context really quickly with things that are irrelevant to the file it is working on.

For example:
Image

The LSP only supports analyzing whole projects, so the analyze_files tool should filter the results so that it only includes files matching the paths supplied in the "paths" argument. Without a paths argument, it should return the entire set of results.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions