Skip to content

Commit

Permalink
up no. of retries to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
rwood-97 committed Mar 4, 2024
1 parent 0b9eda2 commit 21bd180
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions reginald/models/models/llama_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def _load_handbook(self, gh_token: str) -> None:
verbose=False,
concurrent_requests=1,
timeout=60,
retries=3,
retries=10,
filter_file_extensions=([".md"], GithubRepositoryReader.FilterType.INCLUDE),
filter_directories=(["content"], GithubRepositoryReader.FilterType.INCLUDE),
)
Expand All @@ -289,7 +289,7 @@ def _load_rse_course(self, gh_token: str) -> None:
verbose=False,
concurrent_requests=1,
timeout=60,
retries=3,
retries=10,
filter_file_extensions=(
[".md", ".ipynb"],
GithubRepositoryReader.FilterType.INCLUDE,
Expand Down Expand Up @@ -318,7 +318,7 @@ def _load_rds_course(self, gh_token: str) -> None:
verbose=False,
concurrent_requests=1,
timeout=60,
retries=3,
retries=10,
filter_file_extensions=(
[".md", ".ipynb"],
GithubRepositoryReader.FilterType.INCLUDE,
Expand Down Expand Up @@ -347,7 +347,7 @@ def _load_turing_way(self, gh_token: str) -> None:
verbose=False,
concurrent_requests=1,
timeout=60,
retries=3,
retries=10,
filter_file_extensions=([".md"], GithubRepositoryReader.FilterType.INCLUDE),
)
self.documents.extend(turing_way_loader.load_data(branch="main"))
Expand All @@ -374,7 +374,7 @@ def _load_hut23(self, gh_token: str) -> None:
verbose=False,
concurrent_requests=1,
timeout=60,
retries=3,
retries=10,
filter_file_extensions=(
[".md", ".ipynb"],
GithubRepositoryReader.FilterType.INCLUDE,
Expand Down

0 comments on commit 21bd180

Please sign in to comment.