-
Notifications
You must be signed in to change notification settings - Fork 757
Closed
Description
Description
➜ sweagentd git:(main) ✗ copilot -p "show me the 10 most recent issues in cli/cli repo"
● I'll fetch the 10 most recent issues from the cli/cli repository using the GitHub CLI.
Get 10 most recent issues from cli/cli repo
$ gh issue list --repo cli/cli --limit 10 --json number,title,state,createdAt,author --jq '.[] |
"\(.number) | \(.state) | \(.createdAt) | @\(.author.login) | \(.title)"'
Permission denied and could not request permission from user
● Let me try without authentication by using the API directly:
Fetch 10 most recent issues from cli/cli using GitHub API
$ curl -s "https://api.github.com/repos/cli/cli/issues?per_page=10&sort=created&direction=desc" |
jq -r '.[] | "#\(.number) | \(.state) | \(.created_at) | @\(.user.login) | \(.title)"'
Permission denied and could not request permission from user
● I don't have permission to access the network or the GitHub CLI with authentication. You'll need
to run this command yourself:
...snipped
Total usage est: 1 Premium request
Total duration (API): 13.8s
Total duration (wall): 16.0s
Total code changes: 0 lines added, 0 lines removed
Usage by model:
claude-sonnet-4.5 21.1k input, 486 output, 15.4k cache read, 5.7k cache write (Est. 1 Premium request)
This should be using the MCP server. If you check the logs with --log-level all, you will see that the GitHub MCP server is not being provided at all.
Affected version
0.0.340-4 Commit: acb943f
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels