Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

890 B
Raw Blame
import type { ModelProviderCard } from '../types';

const GithubCopilot: ModelProviderCard = {
  chatModels: [],
  checkModel: 'gpt-5-mini',
  description: 'Access Claude, GPT, and Gemini models through your GitHub Copilot subscription.',
  id: 'githubcopilot',
  name: 'GitHub Copilot',
  settings: {
    authType: 'oauthDeviceFlow',
    maxToolCount: 128,
    oauthDeviceFlow: {
      clientId: 'Iv1.b507a08c87ecfe98',
      defaultPollingInterval: 5,
      deviceCodeEndpoint: 'https://github.com/login/device/code',
      scopes: ['read:user'],
      tokenEndpoint: 'https://github.com/login/oauth/access_token',
      tokenExchangeEndpoint: 'https://api.github.com/copilot_internal/v2/token',
    },
    sdkType: 'openai',
    showApiKey: false,
    showChecker: true,
    supportResponsesApi: true,
  },
  url: 'https://github.com/features/copilot',
};

export default GithubCopilot;