mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #178] [MERGED] Append "Respond ONLY as [name]" on group chat individual mode regens #4494
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#4494
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/178
Author: @mm14141
Created: 4/22/2026
Status: ✅ Merged
Merged: 4/23/2026
Merged by: @SpicyMarinara
Base:
main← Head:append-respond-as-name-on-regen📝 Commits (5)
1d740ebAppend "Respond ONLY as [name]" on group chat individual mode regens1c3c344Merge branch 'Pasta-Devs:main' into append-respond-as-name-on-regen3709b24Used cached regen message and validatecc57a1dFix possibly undefined on regenMsg validation6efabcfChange status code to 400 for missing character📊 Changes
1 file changed (+19 additions, -3 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+19 -3)📄 Description
Why this change
In group chats set to individual mode, the engine appends a "Respond ONLY as [name]" instruction on the initial generation of a message, but does not do so when regenerating, often causing the AI to play as only the first character in the group or multiple characters at once, inconsistent with the first generation.
What changed
generate.routes.ts, before running the generation, if in a group chat, in individual mode, and regenerating, it appends the "Respond ONLY as [name]" instruction as it does for the individual loop.Validation
pnpm checkManual verification notes
Docs and release impact
UI evidence (if applicable)
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.