Place solution details after issue.
This commit is contained in:
parent
51740bc312
commit
37c9ecf3db
|
@ -45,7 +45,7 @@ def create_aider_command(issue: str) -> list[str]:
|
||||||
'--no-auto-lint',
|
'--no-auto-lint',
|
||||||
'--api-key', secrets.llm_api_key(),
|
'--api-key', secrets.llm_api_key(),
|
||||||
'--read', 'CONVENTIONS.md',
|
'--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',
|
'--yes-always',
|
||||||
'--architect',
|
'--architect',
|
||||||
]
|
]
|
||||||
|
@ -111,7 +111,7 @@ def push_changes(cwd: Path, branch_name: str, issue_number: str, issue_title: st
|
||||||
"-o",
|
"-o",
|
||||||
f"title={issue_title}",
|
f"title={issue_title}",
|
||||||
"-o",
|
"-o",
|
||||||
f"description=\"This pull request resolves #{issue_number}\""
|
f"description=This pull request resolves #{issue_number}"
|
||||||
]
|
]
|
||||||
run_cmd(cmd, cwd)
|
run_cmd(cmd, cwd)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user