@tiens.nguyen/gonext-local-worker 1.0.129 → 1.0.130
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/gonext-local-worker.mjs +6 -1
- package/package.json +1 -1
package/gonext-local-worker.mjs
CHANGED
|
@@ -1526,7 +1526,12 @@ async function runAgentChatJob(job) {
|
|
|
1526
1526
|
emailFrom: payload?.emailFrom ?? "",
|
|
1527
1527
|
emailAllowList: payload?.emailAllowList ?? "",
|
|
1528
1528
|
});
|
|
1529
|
-
|
|
1529
|
+
// 7 min max for an agent run: up to 5 ReAct steps on a local 14B with a cold
|
|
1530
|
+
// prompt cache can legitimately exceed the old 5-min cap. Must stay BELOW the web
|
|
1531
|
+
// client's hard WS deadline (480s) so our clean timeout error reaches the user
|
|
1532
|
+
// instead of a generic WS timeout. On expiry the python child is SIGKILLed, which
|
|
1533
|
+
// also shows up as a BrokenPipeError in the mlx_lm.server log (expected).
|
|
1534
|
+
const timeoutMs = 420_000;
|
|
1530
1535
|
|
|
1531
1536
|
let inThink = false;
|
|
1532
1537
|
let finalText = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiens.nguyen/gonext-local-worker",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.130",
|
|
4
4
|
"description": "Polls GoNext cloud API for async local LLM jobs and runs them against Ollama/OpenAI-compatible servers on this Mac",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|