Skip to content

feat(code-review): improve get_file_contents tool #69

@bambam955

Description

@bambam955

Description

There are many times where the LLM provides inaccurate comments because of its limited view of the project it's reviewing.

For example, in one Qt/C++ MR, a new piece of code used an inline function defined in another file. The bot repeatedly said that this was invalid because it didn't know where the function was defined and had no way of finding out.

The bot already has a get_file_contents tool, but it doesn't always use it effectively...

Proposal

  • Allow bot to request a specific line range of a file to avoid getting too much context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions