Github copilot cli does not seems to use rtk ai #2610
Replies: 4 comments
|
The issue is that GitHub Copilot CLI has its own built-in tools that bypass RTK's proxy. Copilot uses internal 'read' tool implementations that don't go through the shell where RTK intercepts commands. Solution: Instead of relying on Copilot's built-in tools, force it to use shell commands by prefixing with 'rtk': |
|
The README notes GitHub Copilot CLI has a known limitation, it uses a "PreToolUse deny-with-suggestion" method rather than a full transparent rewrite (unlike the VS Code Copilot extension, which does rewrite transparently). I believe it's worth mentioning that distinction since it explains the issue to some extend. |
|
Following up with more detail on the deny-with-suggestion point, since that's the actual root cause here: |
Uh oh!
There was an error while loading. Please reload this page.
Hi. I installed both rtk and github copilot cli but and initalized rtk with
rtk init -gandrtk init -g --copilot.But after prompting in github copilot cli i can see no gain with
rtk gain --graph.Github copilot cli seems to use build in tools like read to parse files and folders...then rtk proxy is never used.
Any ideas what i've done wrong ?
Thank you.


All reactions