[GH-ISSUE #3687] [Issue]: Noodle mentions, user macros, and linked lorebooks #1994

Closed
opened 2026-10-21 05:44:27 +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/3687

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Reply Noodles do not hyperlink account mentions, and {{user}} macros are not evaluated in Persona, Character, or Lorebook content sent to the LLM. Linked external Lorebooks may also be omitted from Noodle context while embedded Character Card lorebooks are included.

Expected behavior

Account references should be hyperlinked in both top and reply Noodles. {{user}} macros should be evaluated before Persona, Character, and Lorebook content is sent to the LLM, and attached external Lorebooks should be included in Noodle context.

Actual behavior

Account references in reply Noodles are not hyperlinked, although references in top Noodles are. {{user}} remains unevaluated in Persona, Character, and Lorebook content. LLM request inspection appears to show embedded lorebook entries but not externally linked entries.

Steps to reproduce

  1. Reference an account with @username in a top Noodle and confirm that it is hyperlinked.
  2. Reference an account with @username in a reply Noodle and observe that it is not hyperlinked.
  3. Add a {{user}} macro to Persona, Character, or Lorebook content.
  4. Send Persona and Character information to the LLM and inspect the request content, including the user-role message beginning with "# Active Noodle Accounts".
  5. Compare a Character Card with an embedded lorebook against a character with an externally attached Lorebook, then inspect whether both sets of entries appear in the Noodle 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

No attachments provided. The reporter observed the unevaluated {{user}} macro in the LLM request under "role": "user", "content": "# Active Noodle Accounts... and reviewed truncated LLM logs for lorebook inclusion.

Additional context

The linked external Lorebook behavior is not yet confirmed because the reporter's LLM logs are truncated. Further testing with an unembedded lorebook is planned.

Discord thread: [Bugs] Small Noodle Bugs
Discord thread link: https://discord.com/channels/1417099416812392641/1527311783839404183
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-16T13:51:45.348Z] AgentX: 1. When an account is referenced (@username) in a reply noodle, it's not hyperlinked to the account. When an account is referenced in the top noodle, it is hyperlinked.

 
2. {{user}} macros not eval'd in Personas or Characters or Lorebook entries. When sending Persona and Character info to LLM, {{user}} macro not eval'd. This is visible in the `"role": "user", "content": "# Active Noodle Accounts...` request.


3. I'm not 100% certain, due to how my LLM logs get truncated, but I feel that Character Card embedded lorebooks are being included in Noodle's context, but linked Lorebooks (ones not "baked/embedded") are not being included. I need to do a bit more research and unembed one, but based on me reading over the LLM requests, I see all of the embedded/baked entries but not linked/external entries (linked via lorebook attach to character). I'll do some more research on this item.
[Discord message: https://discord.com/channels/1417099416812392641/1527311783839404183/1527311783839404183]

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/3687 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Reply Noodles do not hyperlink account mentions, and {{user}} macros are not evaluated in Persona, Character, or Lorebook content sent to the LLM. Linked external Lorebooks may also be omitted from Noodle context while embedded Character Card lorebooks are included. ## Expected behavior Account references should be hyperlinked in both top and reply Noodles. {{user}} macros should be evaluated before Persona, Character, and Lorebook content is sent to the LLM, and attached external Lorebooks should be included in Noodle context. ## Actual behavior Account references in reply Noodles are not hyperlinked, although references in top Noodles are. {{user}} remains unevaluated in Persona, Character, and Lorebook content. LLM request inspection appears to show embedded lorebook entries but not externally linked entries. ## Steps to reproduce 1. Reference an account with @username in a top Noodle and confirm that it is hyperlinked. 2. Reference an account with @username in a reply Noodle and observe that it is not hyperlinked. 3. Add a {{user}} macro to Persona, Character, or Lorebook content. 4. Send Persona and Character information to the LLM and inspect the request content, including the user-role message beginning with "# Active Noodle Accounts". 5. Compare a Character Card with an embedded lorebook against a character with an externally attached Lorebook, then inspect whether both sets of entries appear in the Noodle 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 No attachments provided. The reporter observed the unevaluated {{user}} macro in the LLM request under `"role": "user", "content": "# Active Noodle Accounts...` and reviewed truncated LLM logs for lorebook inclusion. ## Additional context The linked external Lorebook behavior is not yet confirmed because the reporter's LLM logs are truncated. Further testing with an unembedded lorebook is planned. Discord thread: [Bugs] Small Noodle Bugs Discord thread link: https://discord.com/channels/1417099416812392641/1527311783839404183 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-16T13:51:45.348Z] AgentX: 1. When an account is referenced (@username) in a reply noodle, it's not hyperlinked to the account. When an account is referenced in the top noodle, it is hyperlinked. 2. {{user}} macros not eval'd in Personas or Characters or Lorebook entries. When sending Persona and Character info to LLM, {{user}} macro not eval'd. This is visible in the `"role": "user", "content": "# Active Noodle Accounts...` request. 3. I'm not 100% certain, due to how my LLM logs get truncated, but I feel that Character Card embedded lorebooks are being included in Noodle's context, but linked Lorebooks (ones not "baked/embedded") are not being included. I need to do a bit more research and unembed one, but based on me reading over the LLM requests, I see all of the embedded/baked entries but not linked/external entries (linked via lorebook attach to character). I'll do some more research on this item. [Discord message: https://discord.com/channels/1417099416812392641/1527311783839404183/1527311783839404183] ``` </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:27 +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#1994
No description provided.