mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
repo-map
This commit is contained in:
parent
c5e127d6fa
commit
0b7bee8712
3 changed files with 6 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
title: Building a better repository map with tree sitter
|
||||
title: Repository map
|
||||
excerpt: Tree-sitter allows aider to build a repo map that better summarizes large code bases.
|
||||
highlight_image: /assets/robot-ast.png
|
||||
nav_exclude: true
|
||||
nav_order: 95
|
||||
---
|
||||
{% if page.date %}
|
||||
<p class="post-date">{{ page.date | date: "%B %d, %Y" }}</p>
|
||||
|
|
|
@ -16,14 +16,12 @@ Be selective, and just add the files that the LLM will need to edit.
|
|||
If you add a bunch of unrelated files, the LLM can get overwhelmed
|
||||
and confused (and it costs more tokens).
|
||||
Aider will automatically
|
||||
share snippets from other, related files with the LLM so it can
|
||||
share snippets from related files with the LLM so it can
|
||||
[understand the rest of your code base](https://aider.chat/docs/repomap.html).
|
||||
|
||||
You can also just launch aider anywhere in a git repo without naming files.
|
||||
You can then add and remove files in the chat
|
||||
with the `/add` and `/drop` [chat commands](/docs/commands.html).
|
||||
If you or the LLM mention any of the repo filenames,
|
||||
aider will ask if you'd like to add them to the chat.
|
||||
|
||||
See info about how to [connect to LLMs](/docs/llms.html) for information on
|
||||
telling aider which model to use.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue