Place solution details after issue.
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 23s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s

This commit is contained in:
Jon Michael Aanes 2025-04-13 16:41:54 +02:00
parent 51740bc312
commit 37c9ecf3db

View File

@ -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)