mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3514] [Issue]: Conversation mode edits user text when AI prepends character name #1901
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#1901
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 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3514
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In Conversation mode, AI replies can be parsed as part of the user's message when the AI prepends the character name to its messages except the first one. Editing the model response can expose/edit part of the user's message instead of only the model output.
Expected behavior
AI responses should be parsed as model messages, and editing a model response should only allow editing that model response.
Actual behavior
When the AI prepends the character name to later messages, the parser sometimes treats AI reply text as part of the user's message. Clicking to edit the model response in Conversation mode lets the user edit part of their own message.
Steps to reproduce
Environment
Logs, screenshots, or video
Two Discord image attachments were provided showing the issue: https://cdn.discordapp.com/attachments/1525751616056332300/1525751616307728384/image.png?ex=6a54866c&is=6a5334ec&hm=17265de7c3a4975913d813a41b3edad2b37ad9322a533a3c2bfed520fb5e349b& and https://cdn.discordapp.com/attachments/1525751616056332300/1525751616634880020/image.png?ex=6a54866c&is=6a5334ec&hm=cc72b3b4fc0b56d508888de107297648d78481a9101bcb2787acc9dd196c9725&
Additional context
Marinara suggested this may be related to newline splitting.
Discord thread: [Bug] [CONVO] AI replies are parsed as part of the user's message instead of the AI message sometime
Discord thread link: https://discord.com/channels/1417099416812392641/1525751616056332300
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 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 12, 2026):
Implementation is now owned by the combined draft PR #3516. I am reproducing the reported path and will close this issue through that PR once its fix and regression proof are complete.
@SpicyMarinara commented on GitHub (Jul 12, 2026):
Fixed in #3516 (commit
d10626344): partially speaker-prefixed Conversation replies now attribute the leading unprefixed block to the saved assistant character, with shared parser and reaction-attribution coverage.