From fb648bb158c3a8f87b3c3503231be6a9866652db Mon Sep 17 00:00:00 2001 From: cau1k Date: Mon, 15 Dec 2025 00:34:38 -0500 Subject: [PATCH] clean up --- packages/coding-agent/src/core/oauth/github-copilot.ts | 7 ------- 1 file changed, 7 deletions(-) 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); -}