mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
copy
This commit is contained in:
parent
3ef16827fc
commit
9dfc23c660
1 changed files with 18 additions and 3 deletions
21
docs/faq.md
21
docs/faq.md
|
@ -186,14 +186,29 @@ see there's a base coder with base prompts, and then there are
|
||||||
a number of
|
a number of
|
||||||
different specific coder implementations.
|
different specific coder implementations.
|
||||||
|
|
||||||
While it's not yet documented how to add new coder subsystems, you may be able
|
|
||||||
to modify an existing implementation or use it as a template to add another.
|
|
||||||
|
|
||||||
If you're thinking about experimenting with system prompts
|
If you're thinking about experimenting with system prompts
|
||||||
this document about
|
this document about
|
||||||
[benchmarking GPT-3.5 and GPT-4 on code editing](https://aider.chat/docs/benchmarks.html)
|
[benchmarking GPT-3.5 and GPT-4 on code editing](https://aider.chat/docs/benchmarks.html)
|
||||||
might be useful background.
|
might be useful background.
|
||||||
|
|
||||||
|
While it's not well documented how to add new coder subsystems, you may be able
|
||||||
|
to modify an existing implementation or use it as a template to add another.
|
||||||
|
|
||||||
|
To get started, try looking at and modifying these files.
|
||||||
|
|
||||||
|
The wholefile coder is currently used by GPT-3.5 by defauly. You can manually select it with `--edit-format whole`.
|
||||||
|
|
||||||
|
- wholefile_coder.py
|
||||||
|
- wholefile_prompts.py
|
||||||
|
|
||||||
|
The editblock coder is currently used by GPT-4 by default. You can manually select it with `--edit-format diff`.
|
||||||
|
|
||||||
|
- editblock_coder.py
|
||||||
|
- editblock_prompts.py
|
||||||
|
|
||||||
|
When experimenting with coder backends, it helps to run aider with `--verbose --no-pretty` so you can see
|
||||||
|
all the raw information being sent to/from GPT in the conversation.
|
||||||
|
|
||||||
## Can I run aider in Google Colab?
|
## Can I run aider in Google Colab?
|
||||||
|
|
||||||
User [imabutahersiddik](https://github.com/imabutahersiddik)
|
User [imabutahersiddik](https://github.com/imabutahersiddik)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue