mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3326] [Issue]: {{user}} macros are not evaluated in live audio prompt #1805
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1805
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Jul 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3326
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In live audio mode, the generated prompt includes unresolved user macros in persona/character content. The same prompt also appears to include voice cue instructions that are read aloud and a closing </lorebook_entries> tag without a matching opening tag or visible entries.
Expected behavior
Live audio prompts should resolve user macros before sending, include well-formed lorebook sections when entries are triggered, and avoid causing TTS to read bracketed voice cues as spoken words.
Actual behavior
The live audio prompt shows unresolved
{{user}}/{user}}text in persona and character blocks. It also includes output format guidance that can insert cues like[sighs], which are read aloud, and includes</lorebook_entries>without a visible opening tag or entries.Steps to reproduce
<persona>block and observe{{user}}remains unresolved.<characters>block and observe a malformed/unresolved user macro such as{user}}.<output_format>prompt text instructing voice cues such as[soft],[sighs],[brief pause], or[laughing quietly].Environment
Logs, screenshots, or video
Discord report:
When looking at the <persona> for the live audio call, I see <persona>... {{user}}...</persona>. Also:<characters><character>...{user}}...</character><characters>. The prompt includes<output_format>...For voice turns, include natural TTS cues inside content or tone when useful, such as [soft], [sighs], [brief pause], or [laughing quietly], etc.</output_format>, which causes live audio to read words likesigh. Reporter also sees</lorebook_entries>in all requests without a start tag or entries, despite entries showing as triggered.Additional context
Reporter asked whether the live audio prompt section can be exposed for editing. Maintainer replied they will look into the lorebook tag issue.
Discord thread: [Bug] {{user}} macros not eval'd in live audio mode
Discord thread link: https://discord.com/channels/1417099416812392641/1523837065043902484
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (4 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 7, 2026):
Codex is picking this up for the v2.1.1 issue sweep in draft PR #3331.
@SpicyMarinara commented on GitHub (Jul 7, 2026):
Fixed in PR #3331 and merged to staging for v2.1.1. Thank you for the report.