[GH-ISSUE #7753] [Feature]: Persist custom expression keys/tags and allow AI to generate them. #4278

Closed
opened 2026-10-21 06:14:03 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @LordMartron94 on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7753

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Currently AI generation cannot use custom expressions.

Proposed solution

Persist the custom-used expressions/tags for characters so we don't need to remember them.
Allow the AI to generate custom expressions rather then limiting to the 16 hardcoded ones.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • [] I DID NOT read this template and provide the requested details.
Originally created by @LordMartron94 on GitHub (Oct 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7753 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? <!-- Describe the pain point or gap this feature would address --> Currently AI generation cannot use custom expressions. ## Proposed solution Persist the custom-used expressions/tags for characters so we don't need to remember them. Allow the AI to generate custom expressions rather then limiting to the 16 hardcoded ones. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:14:03 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 17, 2026):

I assume this is about the Expressions Agent?

<!-- gh-comment-id:6233391121 --> @SpicyMarinara commented on GitHub (Oct 17, 2026): I assume this is about the Expressions Agent?
Author
Owner

@SpicyMarinara commented on GitHub (Oct 17, 2026):

Custom expressions are already supported by the Expressions Agent. You can upload a sprite with a custom expression name in the character's Sprites tab, or upload a folder where the filenames become expression names. Those names persist with the saved sprites and are automatically sent to the agent as choices for that character.

The engine discovers expression names from saved sprite files and includes them in the agent's <available_sprites> prompt, so expression selection is not restricted to the 16 built-in names.

There is a separate distinction: the Generate Sprite image-generation picker currently offers 16 fixed facial expressions. Adding custom generation choices and remembering reusable generation tags there would be a separate UI enhancement.

Closing because custom expression storage and AI selection from a character's existing sprites are already supported. If this request was specifically about creating new sprite images through that picker, please clarify that in a focused feature request.

<!-- gh-comment-id:6233464847 --> @SpicyMarinara commented on GitHub (Oct 17, 2026): Custom expressions are already supported by the Expressions Agent. You can upload a sprite with a custom expression name in the character's Sprites tab, or upload a folder where the filenames become expression names. Those names persist with the saved sprites and are automatically sent to the agent as choices for that character. The engine [discovers expression names from saved sprite files](https://github.com/Pasta-Devs/Marinara-Engine/blob/be2f2b69407beaefece7e75d1b66efe4fedd16c8/packages/server/src/services/game/sprite.service.ts#L88-L123) and [includes them in the agent's `<available_sprites>` prompt](https://github.com/Pasta-Devs/Marinara-Engine/blob/be2f2b69407beaefece7e75d1b66efe4fedd16c8/packages/server/src/services/agents/agent-executor.ts#L3062-L3079), so expression selection is not restricted to the 16 built-in names. There is a separate distinction: the **Generate Sprite** image-generation picker currently offers 16 fixed facial expressions. Adding custom generation choices and remembering reusable generation tags there would be a separate UI enhancement. Closing because custom expression storage and AI selection from a character's existing sprites are already supported. If this request was specifically about creating new sprite images through that picker, please clarify that in a focused feature request.
Author
Owner

@LordMartron94 commented on GitHub (Oct 17, 2026):

Closing because custom expression storage and AI selection from a character's existing sprites are already supported. If this request was specifically about creating new sprite images through that picker, please clarify that in a focused feature request.

Yes that was about this. Feel free to edit my feature-request to reflect this or tell me to do that. Or must I open a new feature?

<!-- gh-comment-id:6234509573 --> @LordMartron94 commented on GitHub (Oct 17, 2026): > Closing because custom expression storage and AI selection from a character's existing sprites are already supported. If this request was specifically about creating new sprite images through that picker, please clarify that in a focused feature request. Yes that was about this. Feel free to edit my feature-request to reflect this or tell me to do that. Or must I open a new feature?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4278
No description provided.