[GH-ISSUE #6848] [Feature]: Generate / Improve buttons for every character card field #3837

Closed
opened 2026-10-21 06:08:02 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @jochst on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6848

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

In the character editor's Card tab, only Summary has an LLM button ("Generate summary"). Every other card field — Description, Personality, Backstory, Appearance, Scenario, and the Dialogue fields (First Message, Alternate Greetings, Example Dialogue) — has to be written entirely by hand. There is also no way to have the model polish or expand something the author already started, so fleshing out a card means copying text into a separate chat and pasting it back.

Proposed solution

Add a wand button to each of those fields, reusing the pattern and connection resolution the Summary button already uses:

  • Generate when the field is empty: write the field from the rest of the (unsaved) card.
  • Improve when the field has text: rewrite and expand it while keeping every fact the author wrote.
  • Result replaces the field text, with an Undo action on the success toast. A result that arrives after the author edited the field (or switched characters) is discarded instead of overwriting their edit.
  • Uses the same connection as "Generate summary" (summary connection, else the default connection); no new setting.
  • One server endpoint for all fields, with a whitelist of allowed fields and debug-mode prompt logging.

Alternatives considered

  • Separate Generate and Improve buttons per field — more UI clutter for the same capability; the field's empty/non-empty state already tells us which one the user wants.
  • Asking Professor Mari to fill the card — works for whole cards, but is heavier than a per-field action when you only want one field written or tidied.

Additional context

Draft implementation PR incoming against staging. Issue and PR were drafted with an AI coding assistant.

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 @jochst on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6848 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? In the character editor's **Card** tab, only **Summary** has an LLM button ("Generate summary"). Every other card field — **Description, Personality, Backstory, Appearance, Scenario**, and the **Dialogue** fields (First Message, Alternate Greetings, Example Dialogue) — has to be written entirely by hand. There is also no way to have the model polish or expand something the author already started, so fleshing out a card means copying text into a separate chat and pasting it back. ## Proposed solution Add a wand button to each of those fields, reusing the pattern and connection resolution the Summary button already uses: - **Generate** when the field is empty: write the field from the rest of the (unsaved) card. - **Improve** when the field has text: rewrite and expand it while keeping every fact the author wrote. - Result replaces the field text, with an **Undo** action on the success toast. A result that arrives after the author edited the field (or switched characters) is discarded instead of overwriting their edit. - Uses the same connection as "Generate summary" (summary connection, else the default connection); no new setting. - One server endpoint for all fields, with a whitelist of allowed fields and debug-mode prompt logging. ## Alternatives considered - Separate Generate and Improve buttons per field — more UI clutter for the same capability; the field's empty/non-empty state already tells us which one the user wants. - Asking Professor Mari to fill the card — works for whole cards, but is heavier than a per-field action when you only want one field written or tidied. ## Additional context Draft implementation PR incoming against `staging`. Issue and PR were drafted with an AI coding assistant. ## 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:08:02 +07:00
  • closed this issue
  • added the
    in-pr
    label
Author
Owner

@jochst commented on GitHub (Sep 29, 2026):

Working on this: @jochst — draft implementation in #6849.

<!-- gh-comment-id:5891132207 --> @jochst commented on GitHub (Sep 29, 2026): Working on this: @jochst — draft implementation in #6849.
Author
Owner

@scavru commented on GitHub (Sep 29, 2026):

and tags pls!!!

<!-- gh-comment-id:5893657222 --> @scavru commented on GitHub (Sep 29, 2026): and tags pls!!!
Author
Owner

@SpicyMarinara commented on GitHub (Sep 30, 2026):

Thanks for the PR; just a reminder that it needs to be marked as Open and pass review to be considered.

<!-- gh-comment-id:5908726629 --> @SpicyMarinara commented on GitHub (Sep 30, 2026): Thanks for the PR; just a reminder that it needs to be marked as Open and pass review to be considered.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 30, 2026):

Closing for now due to activity, feel free to reopen with a new PR since it needs to be rebuilt on the newest staging anyway.

<!-- gh-comment-id:5919069743 --> @SpicyMarinara commented on GitHub (Sep 30, 2026): Closing for now due to activity, feel free to reopen with a new PR since it needs to be rebuilt on the newest staging anyway.
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#3837
No description provided.