gh-copilot icon indicating copy to clipboard operation
gh-copilot copied to clipboard

[BUG]: copilot gives wrong instructions on how to update gh-copilot

Open MohamedElashri opened this issue 1 year ago • 0 comments

Thanks for taking the time to fill out this out! :bow: By submitting this issue, you agree to follow our Code of Conduct.

What happened?

What did you do? What happened? What did you expect to happen?

If you as gh-copilot "how to update gh-copilot?" it will give wrong answers. i.e.

gh extension update GitHub.copilot

Instead, the correct command should be

gh extension upgrade gh-copilot

Versions

What versions of the relevant software are you running? gh-copilot v1.0.1

Relevant terminal output

Please copy and paste any relevant terminal output.

❯ suggest "how to update gh-copilot?"

Welcome to GitHub Copilot in the CLI!
version 0.5.4-beta (2024-01-04)

I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency

? What kind of command can I help you with?
> generic shell command

Suggestion:

  gh extension update GitHub.copilot

I know that this probably due to hallucination by GPT-4, but I think it is worth tuning things that is related to copilot itself.

MohamedElashri avatar Apr 24 '24 17:04 MohamedElashri