Skip to content

Commit

Permalink
style: put further assistance text in <details>
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Dec 17, 2024
1 parent 9544fa0 commit eff4aa0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/agent/prompts/issue_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
- 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.
- At the end of the conversation, be sure to include the following wording and adhere to the language used in previous conversations:
<details>
<summary>🪧 Tips</summary>
For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.
</details>
## Issue Information:
```
Expand All @@ -29,7 +32,10 @@
- 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.
- At the end of the conversation, be sure to include the following wording and adhere to the language used in previous conversations:
<details>
<summary>🪧 Tips</summary>
For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.
</details>
issue_content: {issue_content}
issue_number: {issue_number}
Expand Down
6 changes: 6 additions & 0 deletions server/agent/prompts/pull_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
- **Changes**: A markdown table of files and their summaries. Group files with similar changes together into a single row to save space.
- At the end of the conversation, be sure to include the following wording and adhere to the language used in previous conversations:
<details>
<summary>🪧 Tips</summary>
For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.
</details>
## Task 2: Code Review
Expand Down Expand Up @@ -105,7 +108,10 @@
- Never attempt to create a new issue or PR under any circumstances; instead, express an apology.
- 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.
- At the end of the conversation, be sure to include the following wording and adhere to the language used in previous conversations:
<details>
<summary>🪧 Tips</summary>
For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.
</details>
"""


Expand Down

0 comments on commit eff4aa0

Please sign in to comment.