mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
copy
This commit is contained in:
parent
51c8bf0614
commit
06e6bf95e0
2 changed files with 6 additions and 5 deletions
|
@ -149,9 +149,10 @@ you can use `--openai-api-base` to connect to a different API endpoint.
|
||||||
|
|
||||||
### Local LLMs
|
### Local LLMs
|
||||||
|
|
||||||
[LocalAI](https://github.com/go-skynet/LocalAI)
|
[LocalAI](https://github.com/go-skynet/LocalAI),
|
||||||
and
|
|
||||||
[SimpleAI](https://github.com/lhenault/simpleAI)
|
[SimpleAI](https://github.com/lhenault/simpleAI)
|
||||||
|
and
|
||||||
|
[LiteLLM](https://docs.litellm.ai/docs/proxy_server#tutorial-use-with-aiderautogencontinue-devlangroidetc)
|
||||||
look like relevant tools to serve local models via a compatible API.
|
look like relevant tools to serve local models via a compatible API.
|
||||||
|
|
||||||
|
|
||||||
|
@ -242,4 +243,4 @@ pip install -r requirements.txt
|
||||||
|
|
||||||
# Run the local version of Aider:
|
# Run the local version of Aider:
|
||||||
python -m aider.main
|
python -m aider.main
|
||||||
```
|
```
|
||||||
|
|
|
@ -25,7 +25,7 @@ This article is going to focus on the problem of "code context" (2):
|
||||||
- We need to help GPT understand the overall codebase.
|
- We need to help GPT understand the overall codebase.
|
||||||
- This will help it understand the code it needs to change, which may depend on other parts of the codebase.
|
- This will help it understand the code it needs to change, which may depend on other parts of the codebase.
|
||||||
- It will also help GPT write new code and modify the existing code in a way
|
- It will also help GPT write new code and modify the existing code in a way
|
||||||
that respects and utilizes existing libraries, modules and abstractions
|
that respect and utilize existing libraries, modules and abstractions
|
||||||
found elsewhere in the codebase.
|
found elsewhere in the codebase.
|
||||||
- We must convey all of this "code context" to GPT in an
|
- We must convey all of this "code context" to GPT in an
|
||||||
efficient manner that fits within the limited context window.
|
efficient manner that fits within the limited context window.
|
||||||
|
@ -190,7 +190,7 @@ Switching from ctags to tree-sitter provides a bunch of benefits:
|
||||||
|
|
||||||
- The map is richer, showing full function call signatures and other details straight from the source files.
|
- The map is richer, showing full function call signatures and other details straight from the source files.
|
||||||
- Thanks to `py-tree-sitter-languages`, we get full support for many programming languages via a python package that's automatically installed as part of the normal `pip install aider-chat`.
|
- Thanks to `py-tree-sitter-languages`, we get full support for many programming languages via a python package that's automatically installed as part of the normal `pip install aider-chat`.
|
||||||
- We remove the requirement for users to manually install `universal-ctags` via some extenal tool or package manager (brew, apt, choco, etc).
|
- We remove the requirement for users to manually install `universal-ctags` via some external tool or package manager (brew, apt, choco, etc).
|
||||||
- Tree-sitter integration is a key enabler for future work and capabilities for aider.
|
- Tree-sitter integration is a key enabler for future work and capabilities for aider.
|
||||||
|
|
||||||
## Future work
|
## Future work
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue