version help index

This commit is contained in:
Paul Gauthier 2024-07-05 10:03:51 -03:00
parent 22a494bb59
commit 3d51102de5

View file

@ -7,6 +7,7 @@ from pathlib import Path
import importlib_resources import importlib_resources
from aider import __version__
from aider.dump import dump # noqa: F401 from aider.dump import dump # noqa: F401
warnings.simplefilter("ignore", category=FutureWarning) warnings.simplefilter("ignore", category=FutureWarning)
@ -62,7 +63,7 @@ def get_index():
) )
from llama_index.core.node_parser import MarkdownNodeParser from llama_index.core.node_parser import MarkdownNodeParser
dname = Path.home() / ".aider" / "help" dname = Path.home() / ".aider" / ("help." + __version__)
if dname.exists(): if dname.exists():
storage_context = StorageContext.from_defaults( storage_context = StorageContext.from_defaults(