@skilder-ai/runtime 0.8.1 → 0.8.3
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 +2 -1
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -143989,6 +143989,7 @@ var ACTIVATION_COOLDOWN_MS = 6e4;
|
|
|
143989
143989
|
var DEFAULT_IDLE_TIMEOUT_MS = 3e5;
|
|
143990
143990
|
var DEFAULT_SCRIPT_TIMEOUT_MS = 3e4;
|
|
143991
143991
|
var MAX_INTERACTIVE_SCRIPT_TIMEOUT_MS = 3e5;
|
|
143992
|
+
var SCRIPT_ROUTE_TIMEOUT_MS = MAX_INTERACTIVE_SCRIPT_TIMEOUT_MS + 1e4;
|
|
143992
143993
|
var MAX_SCRIPT_OUTPUT_SIZE = 10485760;
|
|
143993
143994
|
var MAX_CONCURRENT_SCRIPTS = 16;
|
|
143994
143995
|
var MAX_DELEGATE_DEPTH = 3;
|
|
@@ -144488,7 +144489,7 @@ For other resources, use the \`learn\` tool instead.`
|
|
|
144488
144489
|
delegateDepth
|
|
144489
144490
|
});
|
|
144490
144491
|
try {
|
|
144491
|
-
const response = await this.natsService.request(toolCallRequest, { timeout:
|
|
144492
|
+
const response = await this.natsService.request(toolCallRequest, { timeout: SCRIPT_ROUTE_TIMEOUT_MS });
|
|
144492
144493
|
if (response instanceof ErrorResponse) {
|
|
144493
144494
|
return {
|
|
144494
144495
|
content: [{ type: "text", text: `Error: ${response.data.error}` }],
|