mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2608] feat(conversation): custom emojis in the emoji picker (upload, manage, :name:) #1283
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#1283
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?
Originally created by @kolacheee on GitHub (Jun 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2608
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Add user-uploaded custom emojis to Conversation mode, managed directly in the emoji picker (a new "Custom" section) rather than as a separate Gallery tab. Custom emojis are usable in messages via
:name:, and a capped subset of their names is advertised to the model so characters can use them too.Per maintainer guidance: custom emojis belong in the emoji window (not a Gallery tab); their names are sent to the model; users may accumulate hundreds, so only a capped, configurable subset is sent per call.
Conversation mode only — no Roleplay/Game codepaths.
Scope
custom_emojisstore (global pool) + image storage. Persona- and character-scoped emojis continue to come from their galleries via the existing tagging from #2585 — this issue does not change that.random,semantic(relevance-ranked via the built-in local embedder), ortool-call(with a tooltip that a capable model is required, plus a connection dropdown to choose which connection handles the call). Exclusive (persona/character) emojis are weighted above global ones.:name:.:name:renders the custom emoji inline in Conversation messages (small inline; jumbo on an emoji-only line).Implementation notes
local-embedder.ts, all-MiniLM-L6-v2) + the cosine pattern used by lorebook/memory-recall power thesemanticmode;randomis the always-works floor when the embedder is unavailable.tool-callmode reuses the same ranking on demand (pull instead of push) and may land as a fast-follow within this PR.pnpm check; manual verification in Conversation mode (light/dark, mobile, empty states).