Skip to content

Commit

Permalink
feat: add PR link support in changelog updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mrT23 committed Dec 23, 2024
1 parent dd89e1f commit 6c131b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pr_agent/tools/pr_update_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ async def _get_prediction(self, model: str):

# post-process the response
response = response.strip()
if not response:
return ""
if response.startswith("```"):
response_lines = response.splitlines()
response_lines = response_lines[1:]
Expand Down

0 comments on commit 6c131b8

Please sign in to comment.