mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
feat: Move all_messages method to ChatChunks class
This commit is contained in:
parent
bab6a0df25
commit
5095b7ccd0
1 changed files with 1 additions and 11 deletions
|
@ -976,17 +976,7 @@ class Coder:
|
||||||
|
|
||||||
def format_messages(self):
|
def format_messages(self):
|
||||||
chunks = self.format_chat_chunks()
|
chunks = self.format_chat_chunks()
|
||||||
|
return chunks.all_messages()
|
||||||
msgs = (
|
|
||||||
chunks.system
|
|
||||||
+ chunks.examples
|
|
||||||
+ chunks.done
|
|
||||||
+ chunks.files
|
|
||||||
+ chunks.cur
|
|
||||||
+ chunks.reminder
|
|
||||||
)
|
|
||||||
|
|
||||||
return msgs
|
|
||||||
|
|
||||||
def send_message(self, inp):
|
def send_message(self, inp):
|
||||||
self.aider_edited_files = None
|
self.aider_edited_files = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue