ai
ai copied to clipboard
Feature: repo-query indexing does not retry when 404
Type of feature
🍕 Feature
Current behavior
When indexing a repository that is not found, the repo-query goes and indexes it, but never retries when indexing is done.
This is what I was explaining in the discord @diivi and @Anush008
Suggested solution
The function looks like it is a loop, but it fails or exits too soon. Not sure if a try/catch or similar is needed.
https://github.com/open-sauced/ai/blob/beta/src/repo-query/pages/indexing.tsx#L45
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributing Docs
- [ ] I agree to follow this project's Contribution Docs