llmist 9.6.0 → 9.7.0
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.cjs +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -8089,7 +8089,8 @@ var init_executor = __esm({
|
|
|
8089
8089
|
} else {
|
|
8090
8090
|
validatedParameters = schemaAwareParameters;
|
|
8091
8091
|
}
|
|
8092
|
-
const
|
|
8092
|
+
const subagentTimeout = this.subagentConfig?.[call.gadgetName]?.timeoutMs;
|
|
8093
|
+
const timeoutMs = subagentTimeout ?? gadget.timeoutMs ?? this.defaultGadgetTimeoutMs;
|
|
8093
8094
|
const abortController = new AbortController();
|
|
8094
8095
|
let callbackCost = 0;
|
|
8095
8096
|
const reportCost = (amount) => {
|
|
@@ -11184,6 +11185,7 @@ __export(index_exports, {
|
|
|
11184
11185
|
resolveRetryConfig: () => resolveRetryConfig,
|
|
11185
11186
|
resolveRulesTemplate: () => resolveRulesTemplate,
|
|
11186
11187
|
resolveSubagentModel: () => resolveSubagentModel,
|
|
11188
|
+
resolveSubagentTimeout: () => resolveSubagentTimeout,
|
|
11187
11189
|
resolveValue: () => resolveValue,
|
|
11188
11190
|
resultWithAudio: () => resultWithAudio,
|
|
11189
11191
|
resultWithFile: () => resultWithFile,
|
|
@@ -12377,6 +12379,13 @@ function resolveSubagentModel(ctx, gadgetName, runtimeModel, defaultModel) {
|
|
|
12377
12379
|
handleInherit: true
|
|
12378
12380
|
});
|
|
12379
12381
|
}
|
|
12382
|
+
function resolveSubagentTimeout(ctx, gadgetName, runtimeTimeout, defaultTimeout) {
|
|
12383
|
+
return resolveValue(ctx, gadgetName, {
|
|
12384
|
+
runtime: runtimeTimeout,
|
|
12385
|
+
subagentKey: "timeoutMs",
|
|
12386
|
+
defaultValue: defaultTimeout
|
|
12387
|
+
});
|
|
12388
|
+
}
|
|
12380
12389
|
|
|
12381
12390
|
// src/index.ts
|
|
12382
12391
|
init_anthropic();
|
|
@@ -12811,6 +12820,7 @@ function getHostExports2(ctx) {
|
|
|
12811
12820
|
resolveRetryConfig,
|
|
12812
12821
|
resolveRulesTemplate,
|
|
12813
12822
|
resolveSubagentModel,
|
|
12823
|
+
resolveSubagentTimeout,
|
|
12814
12824
|
resolveValue,
|
|
12815
12825
|
resultWithAudio,
|
|
12816
12826
|
resultWithFile,
|