n8n 2.29.4 → 2.29.5
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.
|
@@ -562,6 +562,9 @@ let InstanceAiService = class InstanceAiService {
|
|
|
562
562
|
toolCallId,
|
|
563
563
|
recoverUsageOnAbort: true,
|
|
564
564
|
persistence: { resourceId: user.id, threadId },
|
|
565
|
+
providerOptions: {
|
|
566
|
+
anthropic: { cacheControl: { type: 'ephemeral' } },
|
|
567
|
+
},
|
|
565
568
|
...(this.isRunDebugEnabled()
|
|
566
569
|
? (0, instance_ai_1.createRunDebugStepHooks)(this.runDebugBuffer, { runId, threadId })
|
|
567
570
|
: {}),
|
|
@@ -1273,6 +1276,8 @@ let InstanceAiService = class InstanceAiService {
|
|
|
1273
1276
|
return (0, instance_ai_1.createScopedWorkspace)(workspace, root);
|
|
1274
1277
|
};
|
|
1275
1278
|
runtimeWorkspace = (0, instance_ai_1.createLazyRuntimeWorkspace)({
|
|
1279
|
+
sandboxInstructions: (0, instance_ai_1.getPromptSandboxInstructions)(sandboxConfig.provider),
|
|
1280
|
+
filesystemInstructions: (0, instance_ai_1.getPromptFilesystemInstructions)(sandboxConfig.provider),
|
|
1276
1281
|
ensureWorkspace: async () => await scopeWorkspaceForAgent((await getSetupSandboxEntry())?.workspace),
|
|
1277
1282
|
});
|
|
1278
1283
|
const runtimeSkillWorkspace = (0, instance_ai_1.createLazyRuntimeWorkspace)({
|