This commit is contained in:
Paul Gauthier 2023-07-02 10:33:55 -07:00
parent 5e4ad5bf00
commit e2776fd8fe

View file

@ -7,11 +7,10 @@ code in your local git repo.
To do this, aider needs to be able to reliably recognize when GPT wants to edit local files, To do this, aider needs to be able to reliably recognize when GPT wants to edit local files,
determine which files it wants to modify and what changes to save. determine which files it wants to modify and what changes to save.
Such automated Such automated
code editing hinges on the "edit format" portion of the system prompt, which specifies code editing hinges on using the system prompt
how GPT should structure code edits in its responses. to tell GPT how to structure code edits in its responses.
Aider currently asks GPT to use simple text based "edit formats", but
Aider currently uses simple text based editing formats, but
[OpenAI's new function calling [OpenAI's new function calling
API](https://openai.com/blog/function-calling-and-other-api-updates) API](https://openai.com/blog/function-calling-and-other-api-updates)
looks like a promising way to create more structured edit formats. looks like a promising way to create more structured edit formats.