mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
renamed EditorPrompts -> CoderPrompts
This commit is contained in:
parent
985e362544
commit
0f5264b196
4 changed files with 7 additions and 7 deletions
|
@ -1,9 +1,9 @@
|
||||||
# flake8: noqa: E501
|
# flake8: noqa: E501
|
||||||
|
|
||||||
from .prompts_base import EditorPrompts
|
from .prompts_base import CoderPrompts
|
||||||
|
|
||||||
|
|
||||||
class EditBlockPrompts(EditorPrompts):
|
class EditBlockPrompts(CoderPrompts):
|
||||||
main_system = """Act as an expert software developer.
|
main_system = """Act as an expert software developer.
|
||||||
Be concise!
|
Be concise!
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class EditorPrompts:
|
class CoderPrompts:
|
||||||
files_content_gpt_edits = "I committed the changes with git hash {hash} & commit msg: {message}"
|
files_content_gpt_edits = "I committed the changes with git hash {hash} & commit msg: {message}"
|
||||||
|
|
||||||
files_content_gpt_no_edits = "I didn't see any properly formatted edits in your reply?!"
|
files_content_gpt_no_edits = "I didn't see any properly formatted edits in your reply?!"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# flake8: noqa: E501
|
# flake8: noqa: E501
|
||||||
|
|
||||||
from .prompts_base import EditorPrompts
|
from .prompts_base import CoderPrompts
|
||||||
|
|
||||||
|
|
||||||
class WholeFileFunctionPrompts(EditorPrompts):
|
class WholeFileFunctionPrompts(CoderPrompts):
|
||||||
main_system = """Act as an expert software developer.
|
main_system = """Act as an expert software developer.
|
||||||
Take requests for changes to the supplied code.
|
Take requests for changes to the supplied code.
|
||||||
If the request is ambiguous, ask questions.
|
If the request is ambiguous, ask questions.
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# flake8: noqa: E501
|
# flake8: noqa: E501
|
||||||
|
|
||||||
from .prompts_base import EditorPrompts
|
from .prompts_base import CoderPrompts
|
||||||
|
|
||||||
|
|
||||||
class WholeFilePrompts(EditorPrompts):
|
class WholeFilePrompts(CoderPrompts):
|
||||||
main_system = """Act as an expert software developer.
|
main_system = """Act as an expert software developer.
|
||||||
Take requests for changes to the supplied code.
|
Take requests for changes to the supplied code.
|
||||||
If the request is ambiguous, ask questions.
|
If the request is ambiguous, ask questions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue