文章
About default availability of Copilot features and models
Policies control whether unconfigured features and models default to enabled or disabled.
Authentication
GitHub Copilot SDK 支持多种身份验证方法以适应不同的用例。 选择最适合部署方案的方法。
Build your first Copilot-powered app
In this tutorial, you'll use the Copilot SDK to build a command-line assistant. You'll start with the basics, add streaming responses, then add custom tools - giving Copilot the ability to call your code.
BYOK (自带密钥)
BYOK 允许你通过模型提供程序将 Copilot SDK 与自己的 API 密钥一起使用,从而绕过GitHub Copilot身份验证。 这对于企业部署、自定义模型托管或需要与模型提供商直接计费时非常有用。
Client info
Client info identifies the application using the Copilot SDK and, when applicable, a specific integration within it. An integration is an identifiable sub-part of the application through which the SDK is used, such as an extension or plugin. Set the optional clientInfo client option to attribute runtime telemetry for that connection to your application instead of the runtime's own build.