[GH-ISSUE #3704] [Issue]: [Bug] Macros not eval'd for First Greeting and /guided #2003

Closed
opened 2026-10-21 05:44:30 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3704

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Imported from the Discord thread "[Bug] Macros not eval'd for First Greeting and /guided".

Expected behavior

Not provided in the Discord context.

Actual behavior

See the Discord context transcript below.

Steps to reproduce

  1. Not provided in the Discord context.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

See any attachment links and screenshots in the context below.

Additional context

This issue was created automatically from Discord support context.

Discord thread: [Bug] Macros not eval'd for First Greeting and /guided
Discord thread link: https://discord.com/channels/1417099416812392641/1527383524120989827
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (6 messages)
[2026-07-16T18:36:49.564Z] AgentX: This was fixed in the past, so not sure why it's reappearing now.

1. When the **First Message\Greeting** is sent to LLM, macros aren't being eval'd, so `{{user}}` and `{{char}}` are present instead of names, which confuses the LLM.

2.  When using `/guided`, the prompt uses `{{user}}` instead of the player's name. Such as `[Narrator instruction — do not include a reply from {{user}}. Instead, write the next part of the narrative steering it toward the following:`
[Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527383524120989827]

[2026-07-16T18:38:10.175Z] Marinara: Wasn't this causing troubles?
[Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527383862227894403]

[2026-07-16T18:38:20.213Z] Marinara: Like I remember a specific fix that removed them, because something was wrong.
[Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527383904330186762]

[2026-07-16T18:38:42.812Z] Marinara: Or maybe I'm wrong, idk.
[Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527383999117394091]

[2026-07-16T18:38:47.591Z] Marinara: We'll fix.
[Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527384019161841697]

[2026-07-16T18:42:05.602Z] AgentX: can't see how it was breaking something, the macros should be eval'd before sent to LLM, right?
[Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527384849680171088]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3704 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Imported from the Discord thread "[Bug] Macros not eval'd for First Greeting and /guided". ## Expected behavior Not provided in the Discord context. ## Actual behavior See the Discord context transcript below. ## Steps to reproduce 1. Not provided in the Discord context. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video See any attachment links and screenshots in the context below. ## Additional context This issue was created automatically from Discord support context. Discord thread: [Bug] Macros not eval'd for First Greeting and /guided Discord thread link: https://discord.com/channels/1417099416812392641/1527383524120989827 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (6 messages)</summary> ```text [2026-07-16T18:36:49.564Z] AgentX: This was fixed in the past, so not sure why it's reappearing now. 1. When the **First Message\Greeting** is sent to LLM, macros aren't being eval'd, so `{{user}}` and `{{char}}` are present instead of names, which confuses the LLM. 2. When using `/guided`, the prompt uses `{{user}}` instead of the player's name. Such as `[Narrator instruction — do not include a reply from {{user}}. Instead, write the next part of the narrative steering it toward the following:` [Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527383524120989827] [2026-07-16T18:38:10.175Z] Marinara: Wasn't this causing troubles? [Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527383862227894403] [2026-07-16T18:38:20.213Z] Marinara: Like I remember a specific fix that removed them, because something was wrong. [Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527383904330186762] [2026-07-16T18:38:42.812Z] Marinara: Or maybe I'm wrong, idk. [Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527383999117394091] [2026-07-16T18:38:47.591Z] Marinara: We'll fix. [Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527384019161841697] [2026-07-16T18:42:05.602Z] AgentX: can't see how it was breaking something, the macros should be eval'd before sent to LLM, right? [Discord message: https://discord.com/channels/1417099416812392641/1527383524120989827/1527384849680171088] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:44:30 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2003
No description provided.