mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #95] [MERGED] fix(chat): Inject character first message on Quick Start Roleplay #4462
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#4462
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/95
Author: @LukaTheHero
Created: 4/17/2026
Status: ✅ Merged
Merged: 4/17/2026
Merged by: @LukaTheHero
Base:
main← Head:fix/quick-start-roleplay-first-mes📝 Commits (1)
eb4fe0ffix(chat): Inject character first message on Quick Start Roleplay📊 Changes
2 files changed (+142 additions, -18 deletions)
View changed files
📝
packages/client/src/components/panels/BotBrowserPanel.tsx(+76 -9)📝
packages/client/src/components/panels/CharactersPanel.tsx(+66 -9)📄 Description
Summary
Right-clicking a character and choosing Quick Start Roleplay was creating the chat with the character attached but never seeding the character's
first_mesgreeting, so the new chat opened empty. The wizard'stoggleCharacterflow handles this for the normal "add a character" path; the right-click shortcut bypassed it.Fix
first_mes+alternate_greetingsat right-click time (alongsidecharId/charName).quickStartFromCharacter'screateChat.onSuccess, whenmode === "roleplay"and afirst_mesexists:chatKeys.messages(chat.id)so the chat surface picks them up.Applies to all three right-click surfaces:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.