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.
@@ -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 fullMessage = !message && hasParseableAttachment
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) {