sturdy-dev / codereview.gpt

Reviews your Pull/Merge Requests using ChatGPT
MIT License
529 stars 63 forks source link

[Feature] Enable focusing on specific files for a review #33

Open ryan-at-kettle opened 1 year ago

ryan-at-kettle commented 1 year ago

Some PRs are larger than the limit of tokens. Enable directing the review to only the files the user is concerned about.

wololodev commented 1 year ago

a quick fix would be to review files that arent "viewed" (which is collapsed in PR mode)

but we can also use langchainjs to build short term memory and have multiple prompts (though that would require openai key instead of relying on chatgpt proxy)