diff --git a/aider/utils.py b/aider/utils.py index 3a09f0236..7636eb119 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -90,6 +90,8 @@ def format_content(role, content): formatted_lines.append(f"{role} {line}") return "\n".join(formatted_lines) + +def format_messages(messages, title=None): output = [] if title: output.append(f"{title.upper()} {'*' * 50}")