@tangle-network/create-agent-app 0.45.24 → 0.45.26
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/package.json
CHANGED
|
@@ -100,7 +100,7 @@ export function createSandboxProduce(env: AppEnv) {
|
|
|
100
100
|
// that actually served, and the transcript gets a visible notice.
|
|
101
101
|
// Opt out with `modelFailover: false` (or empty `fallbacks`).
|
|
102
102
|
fallbackModels: config.model.fallbacks,
|
|
103
|
-
openEvents: ({ model: attemptModel, attempt }) =>
|
|
103
|
+
openEvents: ({ model: attemptModel, attempt, signal }) =>
|
|
104
104
|
streamSandboxPrompt(shell, box, normalizeChatPromptForSandbox(prompt), {
|
|
105
105
|
sessionId: identity.sessionId,
|
|
106
106
|
// A failover attempt is a NEW dispatch, not a reconnect to the dead
|
|
@@ -108,6 +108,7 @@ export function createSandboxProduce(env: AppEnv) {
|
|
|
108
108
|
// resume the failed execution instead of starting a fresh run.
|
|
109
109
|
executionId: attempt === 1 ? executionId : `${executionId}-f${attempt}`,
|
|
110
110
|
model: attemptModel,
|
|
111
|
+
signal,
|
|
111
112
|
effort: body.effort ?? config.model.effort,
|
|
112
113
|
harness: config.harness,
|
|
113
114
|
systemPrompt: config.systemPrompt,
|