mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
version help index
This commit is contained in:
parent
22a494bb59
commit
3d51102de5
1 changed files with 2 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue