Added the "code" chat mode

This commit is contained in:
Paul Gauthier 2024-07-29 07:26:32 -03:00
parent 87eb7359d1
commit c17ef53deb
3 changed files with 41 additions and 22 deletions

View file

@ -1,23 +1,17 @@
from .base_coder import Coder
from .editblock_coder import EditBlockCoder
from .editblock_fenced_coder import EditBlockFencedCoder
from .editblock_func_coder import EditBlockFunctionCoder
from .help_coder import HelpCoder
from .single_wholefile_func_coder import SingleWholeFileFunctionCoder
from .udiff_coder import UnifiedDiffCoder
from .wholefile_coder import WholeFileCoder
from .wholefile_func_coder import WholeFileFunctionCoder
from .ask_coder import AskCoder
__all__ = [
HelpCoder,
AskCoder,
Coder,
EditBlockCoder,
EditBlockFencedCoder,
WholeFileCoder,
WholeFileFunctionCoder,
EditBlockFunctionCoder,
SingleWholeFileFunctionCoder,
UnifiedDiffCoder,
HelpCoder,
AskCoder,
]

View file

@ -22,8 +22,9 @@ Other messages in the chat may contain outdated versions of the files' contents.
files_no_full_files_with_repo_map = ""
files_no_full_files_with_repo_map_reply = ""
repo_content_prefix = """Here are summaries of some files present in my git repository.
If you need to see more of the contents of these files, ask me to *add them to the chat*.
repo_content_prefix = """I am working with you on code in a git repository.
Here are summaries of some files present in my git repo.
If you need to see the full contents of any files to answer my questions, ask me to *add them to the chat*.
"""
system_reminder = ""