Find answers from the community

Updated 11 months ago

Hi guys, I have a question about

At a glance
Hi guys, I have a question about GithubRepositoryReader. I have encountered a rate limit by Github. What is the best way of using this loader? I tried to provide it the default branch name, but I suspect it is "too" expensive because it tries to collect all commits. Should I use a commit sha in order to overcome the rate limiting?
W
d
2 comments
Yeah that will save you from fetching all the commits.

I havent used myself the GithubRepo Reader but reading your explaination it would make sense to use commit ID.
Using the commit sha seems to have solved the problem. Thanks πŸ™‚ @WhiteFang_Jr
Add a reply
Sign up and join the conversation on Discord