前列腺炎吃什么中药| 本子是什么意思| 为什么人会死| 拉伸有什么好处| 湿疹和荨麻疹有什么区别| 鼻炎会引起什么症状| npv是什么病毒| 宫颈出血是什么原因| wiggle是什么意思| 葫芦是什么意思| pp是什么材料| 红薯什么时候传入中国| 湿肺是什么意思| 脑缺血吃什么药最好| 锁精环是什么| 有利有弊是什么意思| 丁羟甲苯是什么| 奶瓶pp和ppsu有什么区别| 乳腺结节是什么原因引起的| 命犯桃花是什么意思| 骄阳是什么意思| 女生私密部位长什么样| 火花塞坏了有什么症状| 五指毛桃有什么作用| bebe是什么牌子| 眩晕症是什么原因| 结界是什么意思| 天秤座后面是什么星座| 姚明什么时候退役的| 一什么蛇| 妇科彩超主要检查什么| 骨折是什么感觉| 脉搏跳得快是什么原因| 拖是什么意思| 骨头坏死是什么原因造成的| 排卵期为什么会出血| 粗钢是什么| 女孩叫兮兮是什么意思| 谨记的意思是什么| 左手大拇指麻木是什么原因| sp是什么面料| 生吃紫苏叶有什么功效| pep是什么意思| 白发是什么原因引起的| 肾病什么东西不能吃| 壬字五行属什么| 友尽是什么意思| 2000年属龙的是什么命| 口发苦是什么原因| 吃什么食物补钾最快| 尿崩症是什么症状| 吃豆角中毒什么症状| 感康是什么| ntd是什么意思| 转氨酶高吃什么食物降得快| 脑动脉瘤是什么原因引起的| 骨皮质扭曲是什么意思啊| 骨质疏松打什么针| 外交部长是什么级别| 周莹是什么电视剧| rhino是什么意思| edm是什么| socks是什么意思| 蜂蜡是什么东西| 肌酐清除率是什么意思| 治甲沟炎用什么药膏好| 老酒是什么酒| 国防部是干什么的| 胃胀气打嗝吃什么药| 什么是体外射精| 大腿肌肉酸痛是什么病| 正方形体积公式是什么| 女人大把掉头发是什么原因| 白蜜是什么| 菠菜不能与什么一起吃| 什么是车震| 一月七号是什么星座| 什么是冰丝面料| 头发少剪什么发型好看| 台湾有什么特产| 打磨工是做什么的| 三点水加个真念什么| 临床诊断是什么意思| classic是什么意思| 拔罐紫色说明什么| 肋间神经痛用什么药| 父母宫代表什么| 双生什么意思| 非均匀性脂肪肝是什么意思| 梦见发工资了是什么意思| 67年的羊是什么命| 梦见刨红薯是什么意思| 备孕吃什么叶酸| ac是什么基团| 手串19颗代表什么意思| 草莓是什么季节的| 英特纳雄耐尔是什么意思| 一命呜呼是什么意思| 舌苔厚口臭吃什么药好| 杨树林是什么牌子| 小孩阑尾炎是由什么原因引起的| 身上无力是什么原因| 什么是食物链| 早泄什么意思| 2024年属龙的是什么命| 痔疮是什么科室看的| 手忙脚乱是什么意思| 腋下副乳有什么危害吗| 腰疼是什么病| 脚腕肿是什么原因| bmi是什么| 胰腺在什么位置| 唵是什么意思| 什么应外合| 吃坏东西肚子疼吃什么药| 睡觉流口水什么原因| 红加黄是什么颜色| 陶字五行属什么| 龟是什么意思| 36是什么码| 温吞是什么意思| 分率是什么意思| 瓜子脸适合剪什么刘海| 肚子疼吃什么消炎药| 12月11日是什么星座| 股骨头坏死是什么原因引起的| 颈椎问题挂什么科| 中性粒细胞高说明什么| 淋巴细胞数高说明什么| 宝宝拉肚子吃什么| 孩子注意力不集中缺什么微量元素| 201是什么意思| 骨折吃什么钙片| 什么什么什么花| 鼻子下面长痘什么原因| 七四年属什么生肖| 情妇是什么意思| 吃什么药不能献血| 玛咖是什么| 孩子睡觉流口水是什么原因| 侍寝是什么意思| 长寿面什么时候吃| 化验痰可以检查出什么| 非典是什么病| 水瓶座是什么象星座| 亟须什么意思| 胎儿左侧侧脑室增宽的原因是什么| 什么脱口秀| hco3-是什么意思| 15年婚姻是什么婚| 阅读是什么意思| 种草什么意思| 窜稀是什么意思| 为什么叫韩国人棒子| 没有润滑油用什么代替| 胆囊病变是什么意思| 何炅和谢娜是什么关系| 女人什么眉毛最有福气| 女频是什么| 霸道总裁是什么意思| 湿疹可以吃什么药| 吃什么对肺部好| 迪士尼是什么意思| 蟑螂对人体有什么危害| 心肌缺血有什么症状| 银杯子喝水有什么好处与坏处| 商量是什么意思| 心病有什么症状| 兰台是什么意思| 炖鱼都放什么调料| 二十四节气分别是什么| 五行缺土是什么意思| 857是什么意思| 湿气是什么东西| 胃胆汁反流是什么原因引起的| 热狗为什么叫热狗| 舌苔厚口臭吃什么药好| 尿蛋白阳性是什么意思| 一什么眼睛| 白头翁是什么意思| 只出不进什么意思| 梦见蛇挡路是什么意思| 黄芪和什么泡水壮阳| 鞭尸什么意思| 莲子吃了有什么好处| 什么样的贝壳| 女人吃藕有什么好处| 新发展理念是什么| 吃什么补肝养肝| 烤冷面是什么材料做的| 兔死狐悲指什么生肖| 冥冥中是什么意思| sp是什么| 急性荨麻疹吃什么药| 干咳有痰是什么原因| 女性支原体感染有什么症状| 纸尿裤nb是什么码| 什么的朝霞| 容字五行属什么| 怀孕做梦梦到蛇是什么意思| 脑白质脱髓鞘改变是什么意思| 后援会是什么意思| normal是什么意思| 头皮发麻是什么原因| 18年是什么婚| 这是什么病| 绝症是什么意思| 远山含黛是什么意思| comeon什么意思| 老白茶属于什么茶| 带状疱疹是什么原因引起| 偶尔头疼是什么原因| 炖牛肉不能放什么调料| 什么是b站| 4月15号是什么星座| 什么石穿| 不将日是什么意思| 美甲光疗是什么| 什么什么满门| 喝陈皮有什么好处| 体重指数是什么意思| 异淋是什么意思| 女人为什么会阳虚| 鼻子毛白了是什么原因| 朱日和是什么意思| 六月六是什么日子| 韦编三绝什么意思| midea是什么牌子| 什么的小花| 肺结节什么症状| 后背有痣代表什么| dunhill是什么品牌| hiv1是什么意思| 外籍是什么意思| 麻风疫苗什么时候打| 幽门螺旋杆菌挂什么科| 胎盘成熟度1级是什么意思| 张姓为什么出不了皇帝| 蒙圈什么意思| 肚子怕冷是什么原因该怎么办| johnson是什么品牌| 有机物是什么| 宫颈囊肿多发是什么意思| 什么菜好消化又养胃| 女人湿气太重喝什么茶| 乙肝e抗原阳性是什么意思| 不拘是什么意思| 甲状腺疾病有什么症状| 人体最大的免疫器官是什么| 梦见亲人是什么意思| 睡眠不好吃什么中成药| 肝左叶囊性灶什么意思| 冰晶是什么东西| 动卧是什么意思| 帝旺是什么意思| 眼睛老是流眼泪是什么原因| 婀娜多姿是什么动物| 星期天左眼皮跳是什么预兆| 性激素六项什么时候检查| 中午十一点是什么时辰| 胸口正中间疼是什么病| 豹纹守宫吃什么| 沙僧属什么生肖| mlb是什么牌子中文名| 百度
Skip to main content

炉甘石是什么东西

百度 共建“一带一路”符合国际社会的根本利益,彰显人类社会共同理想和美好追求,是国际合作以及全球治理新模式的积极探索,将为世界和平发展增添新的正能量。

Build and try out GitHub's Blackbeard extension to learn about the development process for GitHub Copilot Extensions.

The Blackbeard extension is a GitHub Copilot Extension that comprises a GitHub App and a Copilot agent. The agent responds to chat requests in the style of a pirate, using Copilot's large language model (LLM) API and special system prompts. See About agents for Copilot Extensions.

This guide uses a simple agent implementation, but the process is similar for skillsets. For information about the difference between agents and skillsets, see About Copilot Extensions.

This quickstart is designed to help you build and chat with the Blackbeard extension as quickly as possible, so you can develop and test your extension without deploying infrastructure. For production, you'll need to host the application for your agent or skillset's endpoints on a publicly accessible server. To instead learn how to create a new GitHub Copilot Extension, see Setting up Copilot Extensions.

1. Create and install a GitHub App

In the developer settings for your GitHub account, create a GitHub App. Your GitHub App must have:

  • A name
  • A homepage URL
  • Webhooks deselected

After you create your app, click Install App in the sidebar, then install your app on your account.

For detailed instructions, see Creating a GitHub App for your Copilot Extension.

2. Clone and host the Blackbeard agent locally

Rather than deploying the Blackbeard agent as a web app, you can host your agent locally for a significantly faster build process.

  1. Using the Terminal built into VS Code, clone the copilot-extensions/blackbeard-extension repository.
  2. In the same Terminal, run npm install to install the necessary dependencies, then run npm start to start the Blackbeard agent on port 3000.
  3. In the "Ports" tab of the VS Code panel, click Forward a port or Add port, then add port 3000.
  4. Right-click the port and set the visibility to "Public," then copy the local address.

3. Integrate and test the Blackbeard extension

After you set up your GitHub App and Blackbeard agent, you can integrate the agent with your app and test the Blackbeard extension. You need to make the following changes to your GitHub App settings:

  • In the "General" settings, in the "Callback URL" field, paste the local address for your agent.
  • In the "Permissions & events" settings, grant read-only permissions to Copilot Chat.
  • In the "Copilot" settings, set your app type to "Agent," then fill out the remaining fields.

After you update your GitHub App settings, you can start chatting with your extension by typing @YOUR-EXTENSION-NAME in the Copilot Chat window, then sending a prompt as normal.

For more detailed instructions, see Configuring your GitHub App for your Copilot extension.

2. Clone and host the Blackbeard agent in a codespace

Rather than deploying the Blackbeard agent as a web app, you can host your agent in a codespace for a significantly faster build process.

  1. Navigate to the copilot-extensions/blackbeard-extension repository. Select the Code dropdown menu, then click Create codespace on main.
  2. To find your new codespace, select the Code dropdown menu. Next to your new codespace, select , then click Open in Browser.
  3. In the integrated Terminal, run npm start to start the Blackbeard agent on port 3000.
  4. In the "Ports" tab of the VS Code panel, click Forward a port, then add port 3000.
  5. Right-click the port and set the visibility to "Public," then copy the local address.

3. Integrate and test the Blackbeard extension

After you set up your GitHub App and Blackbeard agent, you can integrate the agent with your app and test the Blackbeard extension. You need to make the following changes to your GitHub App settings:

  • In the "General" settings, in the "Callback URL" field, paste the forwarded address for your agent.
  • In the "Permissions & events" settings, grant read-only permissions to Copilot Chat.
  • In the "Copilot" settings, set your app type to "Agent," then fill out the remaining fields.

After you update your GitHub App settings, you can start chatting with your extension by typing @YOUR-EXTENSION-NAME in the Copilot Chat window of a supported client or IDE, then sending a prompt as normal. For a list of supported clients and IDEs, see About Copilot Extensions.

Note

Chatting with GitHub Copilot Extensions in GitHub Codespaces is not supported.

For more detailed instructions, see Configuring your GitHub App for your Copilot extension.

2. Clone and start the Blackbeard agent locally

Rather than deploying the Blackbeard agent as a web app, you can host your agent locally for a significantly faster build process.

  1. Using your command line application, clone the copilot-extensions/blackbeard-extension repository.
  2. Run npm install to install the necessary dependencies, then run npm start to start the Blackbeard agent on port 3000.

3. Expose your local server

To make the Blackbeard agent accessible to the Copilot platform and GitHub, you need to expose your local server so it's reachable by HTTP requests. You can use any port forwarding or tunneling service to achieve this. For the following steps, we'll use ngrok.

  1. Navigate to ngrok's download page, then install the appropriate version of ngrok for your operating system.

  2. Navigate to the ngrok setup and installation page, then log in or sign up for an ngrok account.

  3. To expose your local server, in a new window of your command line application, run the following command:

    Shell
    ngrok http http://localhost:3000
    
  4. In your command line application, next to "Forwarding," copy the URL that ngrok assigned to your server.

4. Integrate and test the Blackbeard extension

To integrate your GitHub App with the Blackbeard agent, you need to make the following changes to your app settings:

  • In the "General" settings, in the "Callback URL" field, paste the URL for your exposed server.
  • In the "Permissions & events" settings, grant read-only permissions to Copilot Chat.
  • In the "Copilot" settings, set your app type to "Agent," then fill out the remaining fields.

After you update your GitHub App settings, you can start chatting with your extension by typing @YOUR-EXTENSION-NAME in the Copilot Chat window, then sending a prompt as normal.

For more detailed instructions, see Configuring your GitHub App for your Copilot extension.

Next steps

Now that you have a working GitHub Copilot Extension, you can try building on the Blackbeard agent to experiment with agent development.

To learn about more complex agent implementations, you can also review the following example agents and software development kit (SDK), all of which are available in the copilot-extensions organization:

  • GitHub Models: A more complex agent that lets you ask about and interact with various LLMs listed on the GitHub Marketplace through Copilot Chat. The GitHub Models agent makes use of function calling.
  • Function Calling: An example agent written in Go that demonstrates function calling and confirmation dialogs.
  • RAG Extension: An example agent written in Go that demonstrates a simple implementation of retrieval augmented generation.
  • Preview SDK: An SDK that streamlines the development of Copilot Extensions by handling request verification, payload parsing, and response formatting automatically. This SDK allows extension builders to focus more on creating core functionality and less on boilerplate code.
免疫球蛋白适合什么人 绿茶用什么茶具泡好 脚后跟痛是什么原因 心肌受损会出现什么症状 手指头麻是什么原因引起的
西咪替丁是什么药 血脂稠吃什么好 什么水不能喝脑筋急转弯 尿葡萄糖是什么意思 肥肠炖什么好吃
投影仪什么牌子好 吃什么能立马催月经 舌头疼吃什么药好得快 有什么水能代替美瞳水 来大姨妈肚子疼是什么原因
knee是什么意思 打羽毛球有什么好处 打耳洞什么季节最好 四川酸菜是什么菜 非典型鳞状细胞意义不明确是什么意思
大脑供血不足是什么原因引起的hcv9jop6ns1r.cn 为什么会遗精hcv8jop1ns0r.cn 客厅用什么灯具好hcv8jop0ns0r.cn 女孩学什么专业好hcv7jop6ns7r.cn 骨头受伤了吃什么恢复的快hcv9jop4ns3r.cn
人为什么要穿衣服hcv7jop9ns9r.cn 孕早期胎停有什么症状或征兆吗tiangongnft.com 做什么菜适合放胡椒粉hcv8jop9ns2r.cn 低压高吃什么药最有效hcv9jop4ns2r.cn 什么是乳酸堆积hcv9jop2ns3r.cn
驿马星是什么意思hcv8jop8ns8r.cn 梦字五行属什么sscsqa.com 扦脚是什么意思hcv8jop5ns5r.cn 专案组是什么意思hcv7jop7ns3r.cn 经常手麻是什么原因hcv8jop7ns4r.cn
gop是什么hanqikai.com 大小便失禁是什么原因造成的hcv9jop1ns0r.cn 豆汁是什么520myf.com 抽筋是什么原因引起的hcv8jop2ns0r.cn 眼睛干涩是什么原因引起的hcv9jop6ns5r.cn
百度