From 8850ce06cbf29a06c1aa49ec84940932d4b32f76 Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Sun, 13 Apr 2025 15:44:58 +0200 Subject: [PATCH] feat: update Aider command to instruct writing unit tests before solving issues --- aider_gitea/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider_gitea/__main__.py b/aider_gitea/__main__.py index 59e7335..93c6fa0 100644 --- a/aider_gitea/__main__.py +++ b/aider_gitea/__main__.py @@ -49,7 +49,7 @@ def create_aider_command(issue: str) -> list[str]: '--no-auto-lint', '--api-key', LLM_API_KEY, '--read', 'CONVENTIONS.md', - '--message', issue, + '--message', "First, write unit tests that validate your changes. Then, solve the issue. Issue details:\n" + issue, '--yes-always', '--architect', ]