mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3361] [MERGED] Fix message rendering and agent image prompt edges #5900
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#5900
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/3361
Author: @SpicyMarinara
Created: 7/8/2026
Status: ✅ Merged
Merged: 7/8/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/fix-message-agent-image-prompts📝 Commits (1)
8f677f7Fix message and agent image prompt edges📊 Changes
10 files changed (+81 additions, -21 deletions)
View changed files
📝
packages/client/src/components/chat/ChatImageLightbox.tsx(+2 -0)📝
packages/client/src/components/chat/ChatMessage.tsx(+2 -2)📝
packages/client/src/hooks/use-generate.ts(+30 -5)📝
packages/client/src/lib/tts-dialogue.ts(+9 -7)📝
packages/server/src/routes/generate/agent-connection-guards.ts(+3 -0)📝
packages/server/src/routes/generate/retry-agents-route.ts(+1 -0)📝
packages/server/src/services/game/game-asset-generation.ts(+1 -0)📝
packages/server/src/services/generation/agent-resolution.ts(+1 -0)📝
packages/shared/src/utils/image-prompt-compiler.ts(+7 -2)📝
packages/shared/src/utils/speaker-segments.ts(+25 -5)📄 Description
Summary
<speaker>tags in message rendering, grouping, and TTS so group dialogue coloring and speaker attribution keep working when tags arrive as<...>.Why
Users reported gallery prompt interactions closing the gallery, noisy repeated agent model toasts, GM image prompts staying prose-first despite tag grammar settings, and encoded speaker tags breaking group chat dialogue coloring.
Related: #3225
Validation
Manual verification needed
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.