Skip to content

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

Update types.ts

Nicolas94d0b4be438f
diff --git a/apps/api/src/controllers/v1/types.ts b/apps/api/src/controllers/v1/types.ts
index 780541ba1..c143a52f8 100644
--- a/apps/api/src/controllers/v1/types.ts
+++ b/apps/api/src/controllers/v1/types.ts
@@ -286,6 +286,10 @@ const extractTransform = (obj) => {
obj = { ...obj, waitFor: 5000 };
}
+ if (obj.formats?.includes("changeTracking") && obj.timeout === 30000) {
+ obj = { ...obj, timeout: 60000 };
+ }
+
if (obj.formats?.includes("json")) {
obj.formats.push("extract");
}