[GH-ISSUE #3646] [Issue]: AI Write does not evaluate macros in Conversation About Me #1973

Closed
opened 2026-10-21 05:44:17 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Using "AI Write" for the Conversation-mode "About Me" field sends unresolved macros such as {{user}} to the LLM.

Expected behavior

Macros in the generated About Me prompt should be evaluated before the prompt is sent to the LLM.

Actual behavior

The LLM receives the prompt with literal, unevaluated {{user}} macros.

Steps to reproduce

  1. Open the Conversation section and locate the About Me field.
  2. Click "AI Write" to generate the About Me content.
  3. Inspect the prompt sent to the LLM.
  4. Observe that macros such as {{user}} remain unevaluated.

Environment

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

Logs, screenshots, or video

Prompt excerpt sent to the LLM: Here is what defines them:\nName: {{user}} ... {{user}} ... {{user}}...

Additional context

The issue specifically affects the Conversation-mode About Me generation performed through the "AI Write" action.

Discord thread: [Bug] Convo section About Me using "AI Write" doesn't eval macros
Discord thread link: https://discord.com/channels/1417099416812392641/1527014746380042351
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-15T18:11:26.099Z] AgentX: When clicking on the "AI Write" to have the AI fill out the "About Me", the prompt sent to the LLM includes uneval'd macros. Below is snippet of what's sent to LLM.


` ` `
{"role": "system", "content": "You write a Conversation-mode \"about me\" — a short self-authored profile blurb, like a Discord bio — for this user persona, in their own voice.\nThis is THEIR bio as THEY would write it, not a description of them by someone else. Write only the bio text; no quotes, labels, or preamble.\nAuthenticity over completeness: real people's bios are wildly uneven. Depending on who they are, the right answer might be a single line, a couple of emoji, an inside joke, something cryptic or deflecting, a wall of oversharing, or genuinely nothing at all.\nDo NOT default to a tidy, thorough, earnest bio. Let their personality decide the length, tone, and effort — a guarded or aloof character writes little or nothing; a chaotic oversharer writes a mess. Match them.\nIf they plausibly wouldn't have a bio, it is correct to return an empty string or a bare placeholder."}, {"role": "user", "content": "Here is what defines them:\nName: {{user}} ... {{user}} ... {{user}}...
` ` `
[Discord message: https://discord.com/channels/1417099416812392641/1527014746380042351/1527014746380042351]

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 15, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3646 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Using "AI Write" for the Conversation-mode "About Me" field sends unresolved macros such as `{{user}}` to the LLM. ## Expected behavior Macros in the generated About Me prompt should be evaluated before the prompt is sent to the LLM. ## Actual behavior The LLM receives the prompt with literal, unevaluated `{{user}}` macros. ## Steps to reproduce 1. Open the Conversation section and locate the About Me field. 2. Click "AI Write" to generate the About Me content. 3. Inspect the prompt sent to the LLM. 4. Observe that macros such as `{{user}}` remain unevaluated. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Prompt excerpt sent to the LLM: `Here is what defines them:\nName: {{user}} ... {{user}} ... {{user}}...` ## Additional context The issue specifically affects the Conversation-mode About Me generation performed through the "AI Write" action. Discord thread: [Bug] Convo section About Me using "AI Write" doesn't eval macros Discord thread link: https://discord.com/channels/1417099416812392641/1527014746380042351 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-15T18:11:26.099Z] AgentX: When clicking on the "AI Write" to have the AI fill out the "About Me", the prompt sent to the LLM includes uneval'd macros. Below is snippet of what's sent to LLM. ` ` ` {"role": "system", "content": "You write a Conversation-mode \"about me\" — a short self-authored profile blurb, like a Discord bio — for this user persona, in their own voice.\nThis is THEIR bio as THEY would write it, not a description of them by someone else. Write only the bio text; no quotes, labels, or preamble.\nAuthenticity over completeness: real people's bios are wildly uneven. Depending on who they are, the right answer might be a single line, a couple of emoji, an inside joke, something cryptic or deflecting, a wall of oversharing, or genuinely nothing at all.\nDo NOT default to a tidy, thorough, earnest bio. Let their personality decide the length, tone, and effort — a guarded or aloof character writes little or nothing; a chaotic oversharer writes a mess. Match them.\nIf they plausibly wouldn't have a bio, it is correct to return an empty string or a bare placeholder."}, {"role": "user", "content": "Here is what defines them:\nName: {{user}} ... {{user}} ... {{user}}... ` ` ` [Discord message: https://discord.com/channels/1417099416812392641/1527014746380042351/1527014746380042351] ``` </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:17 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 15, 2026):

Implementation is now tracked in draft PR #3650. It resolves About Me AI Write source macros before provider submission and adds a prompt regression for persona and character contexts.

<!-- gh-comment-id:4984058121 --> @SpicyMarinara commented on GitHub (Jul 15, 2026): Implementation is now tracked in draft PR #3650. It resolves About Me AI Write source macros before provider submission and adds a prompt regression for persona and character contexts.
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#1973
No description provided.