Skip to content

Conversation

@codewarnab
Copy link
Contributor

@codewarnab codewarnab commented Jan 16, 2026

Summary

Adds a community provider documentation page for ai-sdk-provider-copilot, which enables using GitHub Copilot models through the official @github/copilot-sdk.

Changes

  • Added content/providers/03-community-providers/45-copilot-cli.mdx

Provider Features

  • generateText() and streamText() support
  • ✅ Tool calling with custom Zod schemas
  • ✅ Custom agents with system prompts
  • ✅ BYOK (Bring Your Own Key) support
  • ✅ MCP server integration
  • ✅ Response caching
  • ✅ Retry with exponential backoff
  • ✅ OpenTelemetry integration
  • ⚠️ Prompt-based generateObject() (no native JSON mode)

Note

This provider requires the Copilot CLI to be running locally and will not work in serverless environments (Vercel, AWS Lambda, etc.) because the Copilot SDK spawns a local CLI process.

Related

Copilot AI review requested due to automatic review settings January 16, 2026 07:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds community provider documentation for the Copilot CLI provider, which enables developers to use GitHub Copilot models through the AI SDK via the official @github/copilot-sdk.

Changes:

  • Added comprehensive documentation for the ai-sdk-provider-copilot community provider
  • Includes setup instructions, usage examples, and feature descriptions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lgrammel
Copy link
Collaborator

@gr2m github actions are not working somehow

@codewarnab codewarnab marked this pull request as draft January 17, 2026 11:35
…luding architecture, available providers, and model capabilities.
@codewarnab codewarnab marked this pull request as ready for review January 17, 2026 13:22
@codewarnab codewarnab requested a review from lgrammel January 18, 2026 05:43
@codewarnab codewarnab marked this pull request as draft January 18, 2026 08:37
@codewarnab codewarnab marked this pull request as ready for review January 18, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants