diff --git a/packages/fetch/src/fetch.ts b/packages/fetch/src/fetch.ts index e965899d4c9..5524486c303 100644 --- a/packages/fetch/src/fetch.ts +++ b/packages/fetch/src/fetch.ts @@ -1,14 +1,13 @@ import { RequestOptions } from "@continuedev/config-types"; -import * as followRedirects from "follow-redirects"; +import * as http from "http"; import { HttpProxyAgent } from "http-proxy-agent"; +import * as https from "https"; import { HttpsProxyAgent } from "https-proxy-agent"; import { BodyInit, RequestInit, Response } from "node-fetch"; import { getAgentOptions } from "./getAgentOptions.js"; import patchedFetch from "./node-fetch-patch.js"; import { getProxy, shouldBypassProxy } from "./util.js"; -const { http, https } = (followRedirects as any).default; - function logRequest( method: string, url: URL,