next-issue 6.6.54 → 6.6.55
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/agents.mjs +1 -0
- package/package.json +1 -1
package/dist/agents.mjs
CHANGED
|
@@ -24,6 +24,7 @@ export async function runAgent(recorder, request) {
|
|
|
24
24
|
refuseWhenStopped();
|
|
25
25
|
await session.bindExtensions({});
|
|
26
26
|
await session.prompt(request.prompt, { expandPromptTemplates: false });
|
|
27
|
+
refuseWhenStopped();
|
|
27
28
|
if (timer.timedOut()) {
|
|
28
29
|
throw new Error(`The ${request.name} agent did not finish in ${request.timeoutMs} ms.`);
|
|
29
30
|
}
|