We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c080680 commit 15387afCopy full SHA for 15387af
codeflash/result/create_pr.py
@@ -132,7 +132,9 @@ def check_create_pr(
132
coverage_message=coverage_message,
133
)
134
if response.ok:
135
- logger.info(f"Successfully created a new PR #{response.text} with the optimized code.")
+ pr_number = response.text
136
+ pr_url = f"https://github.com/{owner}/{repo}/pull/{pr_number}"
137
+ logger.info(f"Successfully created a new PR #{pr_number} with the optimized code: {pr_url}")
138
else:
139
logger.error(
140
f"Optimization was successful, but I failed to create a PR with the optimized code."
0 commit comments