You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a [GitHub Copilot Extension](https://docs.github.com/en/copilot/using-github-copilot/using-extensions-to-integrate-external-tools-with-copilot-chat) that provides a way to interact with [GitHub Models](https://github.blog/news-insights/product-news/introducing-github-models/), directly in Copilot Chat.
4
-
5
-
> [!NOTE]
6
-
> To use Copilot Extensions, you must be enrolled in the limited public beta.
7
-
>
8
-
> All enrolled users with a GitHub Copilot Individual subscription can use Copilot Extensions.
9
-
>
10
-
> For enrolled organizations or enterprises with a Copilot Business or Copilot Enterprise subscription, organization owners and enterprise administrators can grant access to Copilot Extensions.
3
+
This is an agent-based [GitHub Copilot Extension](https://docs.github.com/en/copilot/using-github-copilot/using-extensions-to-integrate-external-tools-with-copilot-chat) that provides a way to interact with [GitHub Models](https://github.blog/news-insights/product-news/introducing-github-models/), directly in Copilot Chat.
11
4
12
5
## What it can do
13
6
@@ -21,20 +14,39 @@ You can ask it things like "what models are available?" or "which model should I
21
14
22
15
## Development
23
16
24
-
Install dependencies:
17
+
1.Install dependencies:
25
18
26
19
```bash
27
20
npm install
28
21
```
29
22
30
-
To run in development mode:
23
+
2. Run the server
24
+
25
+
- To run in development mode:
31
26
32
27
```bash
33
28
npm run dev
34
29
```
35
30
36
-
To build and run in production mode:
31
+
-To build and run in production mode:
37
32
38
33
```bash
39
34
npm run build && npm start
40
35
```
36
+
3. Follow [this guide](https://docs.github.com/en/copilot/building-copilot-extensions/creating-a-copilot-extension/configuring-your-server-to-deploy-your-copilot-agent#configuring-your-server) to make your server accessible to the internet
37
+
38
+
In short, we would expose a public URL for our local server using the following command (follow the guide for detailed setup instructions):
39
+
```
40
+
ngrok http http://localhost:3000
41
+
```
42
+
43
+
4. Follow [this guide](https://docs.github.com/en/copilot/building-copilot-extensions/creating-a-copilot-extension/creating-a-github-app-for-your-copilot-extension) to create a GitHub app
44
+
5. Follow [this guide](https://docs.github.com/en/copilot/building-copilot-extensions/creating-a-copilot-extension/configuring-your-github-app-for-your-copilot-agent) to configure the app to use the public URL from (3.)
45
+
6. 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!
-[About building Copilot Extensions](https://docs.github.com/en/copilot/building-copilot-extensions/about-building-copilot-extensions)
50
+
-[Set up process](https://docs.github.com/en/copilot/building-copilot-extensions/setting-up-copilot-extensions)
51
+
-[Communicating with the Copilot platform](https://docs.github.com/en/copilot/building-copilot-extensions/building-a-copilot-agent-for-your-copilot-extension/configuring-your-copilot-agent-to-communicate-with-the-copilot-platform)
52
+
-[Communicating with GitHub](https://docs.github.com/en/copilot/building-copilot-extensions/building-a-copilot-agent-for-your-copilot-extension/configuring-your-copilot-agent-to-communicate-with-github)
0 commit comments