Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add the function to check if the pr summary is correct and fix it #637

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

xingwanying
Copy link
Contributor

close #631

Copy link

vercel bot commented Dec 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat 🔄 Building (Inspect) Visit Preview 💬 Add feedback Dec 31, 2024 7:09am

Copy link

Walkthrough

This pull request introduces a function to check and correct the markdown format of pull request summaries. It ensures that the summaries are correctly formatted before being posted as comments.

Changes

File Summary
server/agent/prompts/pull_request.py Added instructions to check and fix markdown format errors in PR summaries.
server/agent/tools/pull_request.py Introduced a function fix_markdown_format to correct markdown formatting issues and integrated it into the PR summary creation process.
server/core/models/bot.py Minor whitespace adjustment.
🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@xingwanying xingwanying merged commit 778a0ca into main Dec 31, 2024
3 of 4 checks passed
@xingwanying xingwanying deleted the fix_pr_formate branch December 31, 2024 07:10
Copy link

codecov bot commented Dec 31, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
server/agent/tools/pull_request.py 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
server/agent/prompts/pull_request.py 66.66% <ø> (ø)
server/core/models/bot.py 100.00% <ø> (ø)
server/agent/tools/pull_request.py 15.55% <0.00%> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

petercat-assistant检视代码的回复内容样式错乱
1 participant