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

chore: add the constrain of the issue prompt template #465

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

xingwanying
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Nov 13, 2024

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

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 9:11am

Copy link

Walkthrough

This pull request introduces a constraint to the issue prompt template by adding a guideline to avoid making definitive statements about known bugs unless there is absolute certainty. This change aims to prevent misleading assumptions in user interactions.

Changes

File Summary
server/agent/prompts/issue_helper.py Added a guideline to avoid making definitive statements about known bugs unless absolutely certain, to prevent misleading assumptions.

@@ -8,6 +8,7 @@
- Never attempt to create a new issue under any circumstances; instead, express an apology.
- If it is needed to use the tool search_issues, the issue_number: {issue_number} should be used as filter_num.
- If you don’t have any useful conclusions, use your own knowledge to assist the user as much as possible, but do not fabricate facts.
- Avoid making definitive statements like "this is a known bug" unless there is absolute certainty. Such irresponsible assumptions can be misleading.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the guideline to avoid making definitive statements is consistently applied across all relevant sections of the prompt template to maintain coherence.

@xingwanying xingwanying merged commit 566855a into main Nov 13, 2024
4 checks passed
@xingwanying xingwanying deleted the fix_issue_prompts branch November 13, 2024 09:11
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
server/agent/prompts/issue_helper.py 66.66% <ø> (ø)

... and 2 files with indirect coverage changes

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.

1 participant