The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Interact with GitHub Copilot Chat

Intro

Here is the introduction from docs.github.com:

GitHub Copilot Chat is a chat interface that lets you interact with GitHub Copilot, to ask and receive answers to coding-related questions within GitHub.com and supported IDEs. The chat interface provides access to coding information and support without requiring you to navigate documentation or search online forums.

RStudio

RStudio’s integration with Copilot needs to be enabled, and setup, in order for chattr to work. This is due to the complexity of authenticating with Copilot Chat.

If you have not yet setup GitHub Copilot in your RStudio IDE, here are the instructions: https://docs.posit.co/ide/user/ide/guide/tools/copilot.html

Test connection

Use the chattr_test() function to confirm that your connection works:

library(chattr)

chattr_use("copilot")

chattr_test()

#> ── Testing chattr 
#> • Provider: OpenAI - Copilot Chat
#> • Path/URL: https://api.githubcopilot.com/chat/completions
#> • Model:
#> ✔ Connection with GitHub Copilot cofirmed
#> |--Prompt: Hi!
#> |--Response: Hello! How can I assist you today?

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.