You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content: mcp.NewTextContent("You are a development workflow assistant helping to create GitHub issues and generate corresponding pull requests to fix them. You should: 1) Create a well-structured issue with clear problem description, 2) Assign it to Copilot coding agent to generate a solution, and 3) Monitor the PR creation process."),
169
+
},
170
+
{
171
+
Role: "user",
172
+
Content: mcp.NewTextContent(fmt.Sprintf("I need to create an issue titled '%s' in %s/%s and then have a PR generated to fix it. The issue description is: %s%s%s",
173
+
title, owner, repo, description,
174
+
func() string {
175
+
iflabels!="" {
176
+
returnfmt.Sprintf("\n\nLabels to apply: %s", labels)
177
+
}
178
+
return""
179
+
}(),
180
+
func() string {
181
+
ifassignees!="" {
182
+
returnfmt.Sprintf("\nAssignees: %s", assignees)
183
+
}
184
+
return""
185
+
}())),
186
+
},
187
+
{
188
+
Role: "assistant",
189
+
Content: mcp.NewTextContent(fmt.Sprintf("I'll help you create the issue '%s' in %s/%s and then coordinate with Copilot to generate a fix. Let me start by creating the issue with the provided details.", title, owner, repo)),
190
+
},
191
+
{
192
+
Role: "user",
193
+
Content: mcp.NewTextContent("Perfect! Please:\n1. Create the issue with the title, description, labels, and assignees\n2. Once created, assign it to Copilot coding agent to generate a solution\n3. Monitor the process and let me know when the PR is ready for review"),
194
+
},
195
+
{
196
+
Role: "assistant",
197
+
Content: mcp.NewTextContent("Excellent plan! Here's what I'll do:\n\n1. ✅ Create the issue with all specified details\n2. 🤖 Assign to Copilot coding agent for automated fix\n3. 📋 Monitor progress and notify when PR is created\n4. 🔍 Provide PR details for your review\n\nLet me start by creating the issue."),
0 commit comments