mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
better
This commit is contained in:
parent
82f03b2d43
commit
df1e44aacf
1 changed files with 3 additions and 1 deletions
4
coder.py
4
coder.py
|
@ -21,7 +21,6 @@ openai.api_key = os.getenv("OPENAI_API_KEY")
|
||||||
prompt_webdev = '''
|
prompt_webdev = '''
|
||||||
I want you to act as a web development pair programmer.
|
I want you to act as a web development pair programmer.
|
||||||
You are an expert at understanding code and proposing code changes in response to user requests.
|
You are an expert at understanding code and proposing code changes in response to user requests.
|
||||||
Study the provided code and then change it according to the user's requests.
|
|
||||||
|
|
||||||
Ask any questions you need to fully understand the user's request.
|
Ask any questions you need to fully understand the user's request.
|
||||||
|
|
||||||
|
@ -73,6 +72,7 @@ PREPEND filename.ext
|
||||||
... at the start of the file ...
|
... at the start of the file ...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Study the provided code and then ask the user how they want you to change it.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
prompt_comments = '''
|
prompt_comments = '''
|
||||||
|
@ -174,6 +174,8 @@ class Coder:
|
||||||
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
prompt = ''
|
||||||
|
|
||||||
#prompt += self.request_prompt
|
#prompt += self.request_prompt
|
||||||
#prompt += '\n###\n'
|
#prompt += '\n###\n'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue