Skip to content

Commit cd582c4

Browse files
committed
Merge branch 'main' into moar-sdk
2 parents 27349a8 + bd4746c commit cd582c4

File tree

9 files changed

+648
-116
lines changed

9 files changed

+648
-116
lines changed

README.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
# @models Copilot Extension
22

3-
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.
114

125
## What it can do
136

@@ -21,20 +14,39 @@ You can ask it things like "what models are available?" or "which model should I
2114

2215
## Development
2316

24-
Install dependencies:
17+
1. Install dependencies:
2518

2619
```bash
2720
npm install
2821
```
2922

30-
To run in development mode:
23+
2. Run the server
24+
25+
- To run in development mode:
3126

3227
```bash
3328
npm run dev
3429
```
3530

36-
To build and run in production mode:
31+
- To build and run in production mode:
3732

3833
```bash
3934
npm run build && npm start
4035
```
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!
46+
47+
## Copilot Extensions Documentation
48+
- [Using Copilot Extensions](https://docs.github.com/en/copilot/using-github-copilot/using-extensions-to-integrate-external-tools-with-copilot-chat)
49+
- [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

Comments
 (0)