n8n 2.27.1 → 2.27.2
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/build.tsbuildinfo +1 -1
- package/dist/modules/instance-ai/instance-ai.service.js +2 -3
- package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
- package/dist/modules/instance-ai/internal-messages.d.ts +1 -0
- package/dist/modules/instance-ai/internal-messages.js +6 -1
- package/dist/modules/instance-ai/internal-messages.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-blocked.error.js +3 -1
- package/dist/modules/n8n-packages/engine/import-blocked.error.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-pipeline.js +10 -1
- package/dist/modules/n8n-packages/engine/import-pipeline.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-import.types.d.ts +8 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +20 -4
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.types.d.ts +7 -0
- package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
- package/dist/public-api/v1/openapi.yml +29 -0
- package/package.json +22 -22
|
@@ -2440,11 +2440,12 @@ let InstanceAiService = class InstanceAiService {
|
|
|
2440
2440
|
hasParseableAttachment = classifiedAttachments.some((attachment) => attachment.parseable);
|
|
2441
2441
|
attachmentManifest = (0, instance_ai_1.buildAttachmentManifest)(classifiedAttachments);
|
|
2442
2442
|
}
|
|
2443
|
-
const
|
|
2443
|
+
const messageBody = !message && hasParseableAttachment
|
|
2444
2444
|
? `The user attached file(s) without a message. Inspect the first parseable attachment with parse-file and provide a concise summary.\n\n${attachmentManifest}`
|
|
2445
2445
|
: attachmentManifest
|
|
2446
2446
|
? `${enrichedMessage}\n\n${attachmentManifest}`
|
|
2447
2447
|
: enrichedMessage;
|
|
2448
|
+
const fullMessage = (0, internal_messages_1.withCurrentDateTime)(messageBody, (0, instance_ai_1.getDateTimeSection)(timeZone ?? this.defaultTimeZone));
|
|
2448
2449
|
const promptBuildRun = tracing
|
|
2449
2450
|
? await tracing.startChildRun(tracing.messageRun, {
|
|
2450
2451
|
name: 'prepare: prompt',
|
|
@@ -2526,7 +2527,6 @@ let InstanceAiService = class InstanceAiService {
|
|
|
2526
2527
|
memoryConfig,
|
|
2527
2528
|
memory,
|
|
2528
2529
|
checkpointStore: this.checkpointStore,
|
|
2529
|
-
timeZone: timeZone ?? this.defaultTimeZone,
|
|
2530
2530
|
});
|
|
2531
2531
|
const result = tracing
|
|
2532
2532
|
? await tracing.withActiveSpan(tracing.actorRun, async () => {
|
|
@@ -3015,7 +3015,6 @@ let InstanceAiService = class InstanceAiService {
|
|
|
3015
3015
|
memoryConfig: this.createAgentMemoryOptions(),
|
|
3016
3016
|
memory: environment.memory,
|
|
3017
3017
|
checkpointStore: this.checkpointStore,
|
|
3018
|
-
timeZone: this.runState.getTimeZone(orphan.threadId) ?? this.defaultTimeZone,
|
|
3019
3018
|
});
|
|
3020
3019
|
}
|
|
3021
3020
|
catch (error) {
|