diff --git a/packages/coding-agent/src/core/oauth/github-copilot.ts b/packages/coding-agent/src/core/oauth/github-copilot.ts index 52fce3eb..811d9a23 100644 --- a/packages/coding-agent/src/core/oauth/github-copilot.ts +++ b/packages/coding-agent/src/core/oauth/github-copilot.ts @@ -226,10 +226,3 @@ export async function loginGitHubCopilot(options: { ); return await refreshGitHubCopilotToken(githubAccessToken, enterpriseDomain ?? undefined); } - -export async function exchangeGitHubTokenForCopilotCredentials(options: { - githubToken: string; - enterpriseDomain?: string; -}): Promise { - return refreshGitHubCopilotToken(options.githubToken, options.enterpriseDomain); -}