Merge remote-tracking branch 'origin/main'

This commit is contained in:
Paul Gauthier 2023-07-11 07:33:12 -07:00
commit d636d02d96

View file

@ -6,8 +6,8 @@
Aider does not officially support use with LLMs other than OpenAI's gpt-3.5-turbo and gpt-4 Aider does not officially support use with LLMs other than OpenAI's gpt-3.5-turbo and gpt-4
and their variants. and their variants.
It generally requires some model-specific tuning to get prompts and It seems to require model-specific tuning to get prompts and
editing formats working well. For example, GPT-3.5 and GPT-4 use very editing formats working well with a new model. For example, GPT-3.5 and GPT-4 use very
different prompts and editing formats in aider right now. different prompts and editing formats in aider right now.
Adopting new LLMs will probably require a similar effort to tailor the Adopting new LLMs will probably require a similar effort to tailor the
prompting and edit formats. prompting and edit formats.
@ -16,11 +16,13 @@ That said, aider does provide some features to experiment with other models.
If you can make the model accessible via an OpenAI compatible API, If you can make the model accessible via an OpenAI compatible API,
you can use `--openai-api-base` to connect to a different API endpoint. you can use `--openai-api-base` to connect to a different API endpoint.
Here is are some Here are some
[GitHub issues which may contain relevant information](https://github.com/paul-gauthier/aider/issues?q=is%3Aissue+%22openai-api-base%22+). [GitHub issues which may contain relevant information](https://github.com/paul-gauthier/aider/issues?q=is%3Aissue+%22openai-api-base%22+).
[LocalAI](https://github.com/go-skynet/LocalAI) [LocalAI](https://github.com/go-skynet/LocalAI)
looks like a relevant tool to serve many local models via a compatible API: and
[SimpleAI](https://github.com/lhenault/simpleAI)
look like relevant tools to serve local models via a compatible API:
## Can I change the system prompts that aider uses? ## Can I change the system prompts that aider uses?
@ -49,6 +51,8 @@ has provided this
## How do I get ctags working? ## How do I get ctags working?
First, be aware that ctags is completely optional and not required to use aider. First, be aware that ctags is completely optional and not required to use aider.
Aider only attempts to use ctags with GPT-4,
and currently doesn't use ctags with GPT-3.5.
If you wish to use ctags, you should consult the If you wish to use ctags, you should consult the
[universal ctags repo](https://github.com/universal-ctags/ctags) [universal ctags repo](https://github.com/universal-ctags/ctags)