From 06e6bf95e009039f79fc25a31dcc7e0487409f30 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 20 Oct 2023 13:45:08 -0700 Subject: [PATCH] copy --- docs/faq.md | 7 ++++--- docs/repomap.md | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 32d45af5c..4e9bd2bde 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -149,9 +149,10 @@ you can use `--openai-api-base` to connect to a different API endpoint. ### Local LLMs -[LocalAI](https://github.com/go-skynet/LocalAI) -and +[LocalAI](https://github.com/go-skynet/LocalAI), [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. @@ -242,4 +243,4 @@ pip install -r requirements.txt # Run the local version of Aider: python -m aider.main -``` \ No newline at end of file +``` diff --git a/docs/repomap.md b/docs/repomap.md index 523e66afe..87e5316a8 100644 --- a/docs/repomap.md +++ b/docs/repomap.md @@ -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. - 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 -that respects and utilizes existing libraries, modules and abstractions +that respect and utilize existing libraries, modules and abstractions found elsewhere in the codebase. - We must convey all of this "code context" to GPT in an 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. - 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. ## Future work