@leverageaiapps/locus 2.2.3 → 2.2.4
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/agent/agent-loop.js +1 -1
- package/dist/agent/types.js +1 -1
- package/package.json +1 -1
package/dist/agent/agent-loop.js
CHANGED
|
@@ -181,7 +181,7 @@ async function runAgentLoop(req) {
|
|
|
181
181
|
// Check total elapsed time
|
|
182
182
|
if (Date.now() - loopStartTime > types_1.LOOP_TIMEOUT) {
|
|
183
183
|
await emitEvent(proxy, taskId, userId, conversationId, 'text_delta', {
|
|
184
|
-
content: '\n\n⏰ Task has been running for
|
|
184
|
+
content: '\n\n⏰ Task has been running for 15 minutes — auto-stopped.',
|
|
185
185
|
});
|
|
186
186
|
break;
|
|
187
187
|
}
|
package/dist/agent/types.js
CHANGED
|
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.TOOL_OUTPUT_LIMIT = exports.LOOP_TIMEOUT = exports.MAX_AGENT_TURNS = void 0;
|
|
5
5
|
// ─── Constants ───────────────────────────────────────────────────
|
|
6
6
|
exports.MAX_AGENT_TURNS = 50;
|
|
7
|
-
exports.LOOP_TIMEOUT =
|
|
7
|
+
exports.LOOP_TIMEOUT = 15 * 60 * 1000; // 15 minutes
|
|
8
8
|
exports.TOOL_OUTPUT_LIMIT = 10000; // chars
|
|
9
9
|
//# sourceMappingURL=types.js.map
|