mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
Removed unused imports and simplified the help.py file.
This commit is contained in:
parent
352917de7b
commit
d3e0091346
1 changed files with 2 additions and 13 deletions
|
@ -1,30 +1,19 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import json
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
import time
|
import time
|
||||||
from collections import defaultdict
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import litellm
|
import litellm
|
||||||
|
|
||||||
litellm.suppress_debug_info = True
|
|
||||||
|
|
||||||
import faiss
|
|
||||||
from dump import dump
|
from dump import dump
|
||||||
from llama_index.core import (
|
from llama_index.core import (
|
||||||
Document,
|
Document,
|
||||||
SimpleDirectoryReader,
|
|
||||||
StorageContext,
|
StorageContext,
|
||||||
VectorStoreIndex,
|
VectorStoreIndex,
|
||||||
load_index_from_storage,
|
load_index_from_storage,
|
||||||
)
|
)
|
||||||
from llama_index.core.ingestion import IngestionPipeline
|
|
||||||
from llama_index.core.node_parser import MarkdownNodeParser
|
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
|
litellm.suppress_debug_info = True
|
||||||
from llama_index.readers.file import FlatReader
|
|
||||||
|
|
||||||
|
|
||||||
def should_skip_dir(dirname):
|
def should_skip_dir(dirname):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue