Skip to content

Files

Latest commit

 

History

History
41 lines (31 loc) · 1.83 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.83 KB

Note

This is a fork modified to run on Cloudflare Workers.

Other changes:

  • js -> ts
  • npm -> pnpm
  • use hono
  • fetch -> openai
  • add function calling example

blackbeard-extension

Blackbeard is a basic example of an agent-based GitHub Copilot Extension. It responds to messages like a pirate, using Copilot's LLM API and special system prompts. This repository should serve as an example of the building blocks of a Copilot Extension. See index.ts for the main logic.

Note

Copilot Extensions are in public preview and may be subject to change.

All enrolled users with a GitHub Copilot Individual subscription can use Copilot Extensions. For organizations and enterprises with a Copilot Business or Copilot Enterprise subscription, organization owners and enterprise administrators can grant access to Copilot Extensions for use within their company.

Development

Install dependencies:

pnpm install

To run for development:

pnpm dev

Documentation