Skip to content

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

Update mu (#1959)

Thomas Kosmascfb09fd03090
diff --git a/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts b/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts
index 54dc173c9..b86d1cb2e 100644
--- a/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts
+++ b/apps/api/src/scraper/scrapeURL/engines/pdf/index.ts
@@ -51,40 +51,10 @@ async function scrapePDFWithRunPodMU(
meta.abort.throwIfAborted();
- robustFetch({
- url:
- "https://api.runpod.ai/v2/" + process.env.RUNPOD_MU_POD_ID + "/runsync",
- method: "POST",
- headers: {
- Authorization: `Bearer ${process.env.RUNPOD_MU_API_KEY}`,
- },
- body: {
- input: {
- file_content: base64Content,
- filename: path.basename(tempFilePath) + ".pdf",
- timeout,
- created_at: Date.now(),
- },
- },
- logger: meta.logger.child({
- method: "scrapePDFWithRunPodMU/runsync/robustFetch",
- }),
- schema: z.object({
- id: z.string(),
- status: z.string(),
- output: z
- .object({
- markdown: z.string(),
- })
- .optional(),
- }),
- mock: meta.mock,
- abort,
- }).catch(()=>{});
const podStart = await robustFetch({
url:
- "https://api.runpod.ai/v2/" + process.env.RUNPOD_MUV2_POD_ID + "/runsync",
+ "https://api.runpod.ai/v2/" + process.env.RUNPOD_MU_POD_ID + "/runsync",
method: "POST",
headers: {
Authorization: `Bearer ${process.env.RUNPOD_MU_API_KEY}`,