Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 3, 2024
1 parent 9b90252 commit 64c4258
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/learn.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ async def relearn(self, metadata: IndexMetadata):
for dir in metadata.dirs:
# TODO: do not relearn directories in serial, but instead
# concurrently or in parallel
await self.learn_dir(dir.path, dir.chunk_size, dir.chunk_overlap, all_files=False)
await self.learn_dir(
dir.path, dir.chunk_size, dir.chunk_overlap, all_files=False
)

self.save()

Expand Down

0 comments on commit 64c4258

Please sign in to comment.