mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7393] [MERGED] fix(prompt): keep non-Latin names in prompt tags #7715
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#7715
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7393
Author: @chungchandev
Created: 10/10/2026
Status: ✅ Merged
Merged: 10/11/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/unicode-prompt-wrapper-tags📝 Commits (4)
9ae4f50fix(prompt): keep non-Latin names in prompt tags5c0cc45fix(prompt): drop leading combining marks from name tagsc3301c5Merge branch 'staging' into fix/unicode-prompt-wrapper-tags640585eMerge branch 'staging' into fix/unicode-prompt-wrapper-tags📊 Changes
7 files changed (+145 additions, -7 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/client/src/components/chat/PeekPromptModal.tsx(+2 -2)📝
packages/server/src/services/generation/prompt-message-scope.ts(+3 -1)📝
packages/server/src/services/generation/runtime-agent-sections.ts(+2 -2)📝
packages/server/src/services/prompt/format-engine.ts(+2 -1)📝
packages/shared/src/utils/xml-wrapper.ts(+5 -1)📝
scripts/regressions/prompt.regression.ts(+129 -0)📄 Description
Linked issue
Closes #7394
Why this change
홍길동turned into an empty<>tag andAmélieinto<amlie>. So the model context might be mixed because of this problem.What changed
Tags and Markdown headings now keep letters from any script, minus the invisible marks emoji leave behind.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
I made
홍길동character and check prompt with peek feature. It is now correctly generated as<홍길동> ... </홍길동>not<> ... </>Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.