From 37c9ecf3db8775ca43199c284b423eca6008867c Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Sun, 13 Apr 2025 16:41:54 +0200 Subject: [PATCH] Place solution details after issue. --- aider_gitea/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider_gitea/__main__.py b/aider_gitea/__main__.py index 3c763f3..1c95db2 100644 --- a/aider_gitea/__main__.py +++ b/aider_gitea/__main__.py @@ -45,7 +45,7 @@ def create_aider_command(issue: str) -> list[str]: '--no-auto-lint', '--api-key', secrets.llm_api_key(), '--read', 'CONVENTIONS.md', - '--message', "First, write unit tests that validate your changes. Then, solve the issue. Issue details:\n" + issue, + '--message', issue + "\n\n# Solution Details\nFirst, write unit tests that validate your changes. Then, solve the issue.", '--yes-always', '--architect', ] @@ -111,7 +111,7 @@ def push_changes(cwd: Path, branch_name: str, issue_number: str, issue_title: st "-o", f"title={issue_title}", "-o", - f"description=\"This pull request resolves #{issue_number}\"" + f"description=This pull request resolves #{issue_number}" ] run_cmd(cmd, cwd)