mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
feat: add all_messages() method to return all messages concatenated as a list
This commit is contained in:
parent
860c471d31
commit
21eb02483b
1 changed files with 11 additions and 0 deletions
|
@ -1749,3 +1749,14 @@ class Coder:
|
|||
|
||||
def apply_edits(self, edits):
|
||||
return
|
||||
|
||||
def all_messages(self):
|
||||
chunks = self.format_chat_chunks()
|
||||
return (
|
||||
chunks.system
|
||||
+ chunks.examples
|
||||
+ chunks.done
|
||||
+ chunks.files
|
||||
+ chunks.cur
|
||||
+ chunks.reminder
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue