renamed EditorPrompts -> CoderPrompts

This commit is contained in:
Paul Gauthier 2023-06-22 08:17:12 -07:00
parent 985e362544
commit 0f5264b196
4 changed files with 7 additions and 7 deletions

View file

@ -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!

View file

@ -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?!"

View file

@ -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.

View file

@ -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.