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

style: put further assistance text in <details> #592

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
xingwanying marked this conversation as resolved.
Show resolved Hide resolved
<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>
xingwanying marked this conversation as resolved.
Show resolved Hide resolved
<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
Loading