This commit is contained in:
Mario Zechner 2025-12-20 22:15:30 +01:00
parent 62e23e2164
commit ce950ae96e
4 changed files with 14 additions and 6 deletions

View file

@ -5,7 +5,8 @@
import { getModels } from "../../models.js";
import { type OAuthCredentials, saveOAuthCredentials } from "./storage.js";
const CLIENT_ID = "Iv1.b507a08c87ecfe98";
const decode = (s: string) => Buffer.from(s, "base64").toString();
const CLIENT_ID = decode("SXYxLmI1MDdhMDhjODdlY2ZlOTg=");
const COPILOT_HEADERS = {
"User-Agent": "GitHubCopilotChat/0.35.0",