mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #614] [MERGED] Fix RP DM routing to linked conversations #4698
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#4698
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/614
Author: @cha1latte
Created: 5/9/2026
Status: ✅ Merged
Merged: 5/9/2026
Merged by: @cha1latte
Base:
main← Head:fix/issue-601-rp-linked-conversation📝 Commits (1)
9de57f9Fix RP DM routing to linked conversations📊 Changes
1 file changed (+39 additions, -2 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+39 -2)📄 Description
Linked issue
Closes #601
Why this change
DM with <character>Conversation thread every time, leaving the ongoing linked Conversation empty.What changed
[dm]commands from a linked roleplay chat into the existing linked Conversation chat when that linked chat exists and is inconversationmode.DM with <character>creation fallback for unlinked roleplay chats.Validation
pnpm checkpasses locallyCONTRIBUTING.mdCodex-run proof:
pnpm --dir packages/server exec tsx ..\..\scratch\issue-601-rp-dm-route-repro.tsfailed before the fix on the original issue symptom: linked Conversation message count was0, and an extraDM with Marachat was created.pnpm --dir packages/server exec tsx ..\..\scratch\issue-601-rp-dm-route-repro.tspassed after the fix: the linked Conversation received exactly one assistant message containing all three DM sentences, and no extra DM chat was created for the linked case.DM with MaraConversation with one grouped assistant message.pnpm checkpassed locally after the fix.Manual verification notes
/api/generateroute with a fake local OpenAI-compatible provider and verifies both the linked and unlinked DM command paths.scratch/issue-601-before-output.txt,scratch/issue-601-after-output.txt, andscratch/bugfix-verification.json.Docs and release impact
No docs, release, schema, dependency, or version files were changed.
UI evidence (if applicable)
N/A. This is backend/logic command routing with terminal proof from the scratch harness.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.