Skip to content

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

Set default timeout to 120s when proxy is stealth (#1464)

devin-ai-integration[bot]a840db9ef36d
diff --git a/apps/api/src/controllers/v1/types.ts b/apps/api/src/controllers/v1/types.ts
index 0a8c9fe41..92c95e20b 100644
--- a/apps/api/src/controllers/v1/types.ts
+++ b/apps/api/src/controllers/v1/types.ts
@@ -352,6 +352,10 @@ const extractTransform = (obj) => {
obj = { ...obj, timeout: 300000 };
}
+ if (obj.proxy === "stealth" && obj.timeout === 30000) {
+ obj = { ...obj, timeout: 120000 };
+ }
+
if (obj.formats?.includes("json")) {
obj.formats.push("extract");
}