8000 Edit system prompt to avoid setting human-only labels · coder/labeler@70c0d88 · GitHub
[go: up one dir, main page]

Skip to content

Commit 70c0d88

Browse files
committed
Edit system prompt to avoid setting human-only labels
1 parent 1cb484b commit 70c0d88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aicontext.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ func (c *aiContext) Request() openai.ChatCompletionRequest {
9191
msgs = append(msgs, openai.ChatCompletionMessage{
9292
Role: "system",
9393
Content: `You are a bot that helps labels issues on GitHub using the "setLabel"
94-
function. Avoid applying labels to issues that are meant for Pull Requests only.`,
94+
function. Avoid applying labels to issues that are meant for Pull Requests only. Avoid applying labels when
95+
the label description says something like "Only humans may set this".`,
9596
})
9697

9798
for _, issue := range c.lastIssues {

0 commit comments

Comments
 (0)
0