mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 21:00:40 +08:00
feat: add PR link support in changelog updates
This commit is contained in:
@ -113,6 +113,8 @@ class PRUpdateChangelog:
|
|||||||
|
|
||||||
# post-process the response
|
# post-process the response
|
||||||
response = response.strip()
|
response = response.strip()
|
||||||
|
if not response:
|
||||||
|
return ""
|
||||||
if response.startswith("```"):
|
if response.startswith("```"):
|
||||||
response_lines = response.splitlines()
|
response_lines = response.splitlines()
|
||||||
response_lines = response_lines[1:]
|
response_lines = response_lines[1:]
|
||||||
|
Reference in New Issue
Block a user