mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 04:05:04 +00:00
Add chat_coder.py to enable chat-based coding assistance.
This commit is contained in:
parent
c23da1d320
commit
916021bf10
1 changed files with 19 additions and 0 deletions
19
aider/coders/chat_coder.py
Normal file
19
aider/coders/chat_coder.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
from aider import diffs
|
||||||
|
|
||||||
|
from ..dump import dump # noqa: F401
|
||||||
|
from .base_coder import Coder
|
||||||
|
from .chat_prompts import ChatPrompts
|
||||||
|
|
||||||
|
|
||||||
|
class ChatCoder(Coder):
|
||||||
|
edit_format = "chat"
|
||||||
|
|
||||||
|
gpt_prompts = ChatPrompts()
|
||||||
|
|
||||||
|
def get_edits(self, mode="update"):
|
||||||
|
return
|
||||||
|
|
||||||
|
def apply_edits(self, edits):
|
||||||
|
return
|
Loading…
Add table
Add a link
Reference in a new issue