open-agents-ai 0.185.59 → 0.185.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -65633,8 +65633,8 @@ function ollamaRequest(ollamaUrl, path, method, body) {
|
|
|
65633
65633
|
});
|
|
65634
65634
|
});
|
|
65635
65635
|
});
|
|
65636
|
-
proxyReq.setTimeout(
|
|
65637
|
-
proxyReq.destroy(new Error("Backend request timeout (
|
|
65636
|
+
proxyReq.setTimeout(12e4, () => {
|
|
65637
|
+
proxyReq.destroy(new Error("Backend request timeout (120s)"));
|
|
65638
65638
|
});
|
|
65639
65639
|
proxyReq.on("error", reject);
|
|
65640
65640
|
if (body)
|
|
@@ -65662,8 +65662,8 @@ function ollamaStream(ollamaUrl, path, method, body, onData, onEnd, onError) {
|
|
|
65662
65662
|
proxyRes.on("data", onData);
|
|
65663
65663
|
proxyRes.on("end", onEnd);
|
|
65664
65664
|
});
|
|
65665
|
-
proxyReq.setTimeout(
|
|
65666
|
-
proxyReq.destroy(new Error("Backend stream timeout (
|
|
65665
|
+
proxyReq.setTimeout(12e4, () => {
|
|
65666
|
+
proxyReq.destroy(new Error("Backend stream timeout (120s)"));
|
|
65667
65667
|
});
|
|
65668
65668
|
proxyReq.on("error", onError);
|
|
65669
65669
|
if (body)
|
package/package.json
CHANGED