Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

feat: muv2 exp apikey env (#2472)

Thomas Kosmas94cc463f3f23
diff --git a/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts b/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts
index cf182370c..07e5f4146 100644
--- a/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts
+++ b/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts
@@ -87,6 +87,7 @@ async function scrapePDFWithRunPodMU(
const resp = await robustFetch({
url: process.env.PDF_MU_V2_BASE_URL ?? "",
method: "POST",
+ headers: process.env.PDF_MU_V2_API_KEY ? { Authorization: `Bearer ${process.env.PDF_MU_V2_API_KEY}` } : undefined,
body: {
input: {
file_content: base64Content,