From d3e0091346cb7fc80ce1b0795fc7d1aa509eb1d0 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 25 Jun 2024 15:08:20 -0700 Subject: [PATCH] Removed unused imports and simplified the help.py file. --- aider/help.py | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/aider/help.py b/aider/help.py index 5f914b579..6b73597c8 100755 --- a/aider/help.py +++ b/aider/help.py @@ -1,30 +1,19 @@ #!/usr/bin/env python -import json -import os -import sys import time -from collections import defaultdict from pathlib import Path import litellm - -litellm.suppress_debug_info = True - -import faiss from dump import dump from llama_index.core import ( Document, - SimpleDirectoryReader, StorageContext, VectorStoreIndex, load_index_from_storage, ) -from llama_index.core.ingestion import IngestionPipeline from llama_index.core.node_parser import MarkdownNodeParser -from llama_index.core.storage.docstore import SimpleDocumentStore -from llama_index.core.storage.index_store import SimpleIndexStore -from llama_index.readers.file import FlatReader + +litellm.suppress_debug_info = True def should_skip_dir(dirname):