mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3109] [MERGED] Fix assigned chat and Immersive HTML issues #5799
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#5799
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/3109
Author: @SpicyMarinara
Created: 6/30/2026
Status: ✅ Merged
Merged: 6/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/assigned-issues-3087-3094📝 Commits (5)
f5a8834Resolve assigned chat and agent issues3655d89Preserve blockquote delimiters in XML prompts2a2b234Keep configured model in provider requests6983e91Migrate legacy Immersive HTML defaultsb3c4e66Bundle built-in rewrite agents📊 Changes
27 files changed (+566 additions, -201 deletions)
View changed files
📝
CHANGELOG.md(+7 -0)📝
packages/client/src/components/agents/AgentEditor.tsx(+27 -2)📝
packages/client/src/components/chat/AgentAddSetupFields.tsx(+4 -3)📝
packages/client/src/components/chat/ChatArea.tsx(+4 -2)📝
packages/client/src/components/chat/ChatInput.tsx(+47 -2)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+31 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+42 -1)📝
packages/client/src/components/chat/ConversationInput.tsx(+51 -2)📝
packages/client/src/components/chat/ConversationView.tsx(+21 -1)📝
packages/client/src/hooks/use-generate.ts(+5 -4)📝
packages/client/src/lib/generation-parameter-errors.ts(+3 -0)📝
packages/server/src/routes/chats.routes.ts(+0 -14)📝
packages/server/src/routes/generate.routes.ts(+2 -16)📝
packages/server/src/routes/generate/retry-agents-route.ts(+9 -8)📝
packages/server/src/services/agents/agent-executor.ts(+4 -0)📝
packages/server/src/services/agents/default-prompt-migration.ts(+78 -10)📝
packages/server/src/services/generation/agent-resolution.ts(+1 -1)➖
packages/server/src/services/generation/immersive-html-injection.ts(+0 -77)📝
packages/server/src/services/generation/prose-guardian-settings.ts(+60 -35)📝
packages/server/src/services/generation/runtime-agent-sections.ts(+2 -2)...and 7 more files
📄 Description
Linked issue
Closes #3110
Closes #3108
Closes #3094
Closes #3091
Closes #3087
Why this change
>text before the model sees them.What changed
modelrequest parameters from erasing the configured connection model, while still allowing explicit non-empty model overrides.>to>, while keeping<and&escaped for prompt-boundary safety, and added prompt regression coverage for blockquotes plus injection boundaries.post_processing+text_rewrite, removed the static prompt injection service/call sites, and added a prompt regression that keeps it out of pre-generation runtime sections.useChatbefore the UI clears the active chat.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm check,pnpm regression:prompt,git diff --check.Docs and release impact
UI evidence (if applicable)
Summary by CodeRabbit
New Features
Bug Fixes
>characters in wrapped prompts while still escaping other special characters.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.