This is a GitHub Copilot Extension that provides a way to interact with GitHub Models, directly in Copilot Chat.
Note
Copilot Extensions are in public beta and GitHub Models are in limited public beta. They may be subject to change. To request access to GitHub Models, join the waitlist.
You can ask it things like "what models are available?" or "which model should I use for my use-case?". You can also ask it to execute a basic prompt using a particular model.
- Install dependencies:
npm install
- Run the server
- To run in development mode:
npm run dev
- To build and run in production mode:
npm run build && npm start
- Follow this guide to make your server accessible to the internet
In short, we would expose a public URL for our local server using the following command (follow the guide for detailed setup instructions):
ngrok http http://localhost:3000
- Follow this guide to create a GitHub app
- Follow this guide to configure the app to use the public URL from (3.)
- Use your newly installed app! On any copilot enabled page, type
@your-app-name <prompt>
(from the app created in 4.) to interact with your local installation of this extension!