[GH-ISSUE #1848] [Feature]: Add /amend command for guided response revisions #894

Closed
opened 2026-10-21 05:23:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cha1latte on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1848

Originally assigned to: @cha1latte on GitHub.

What problem does this solve?

Sometimes an AI response is mostly right, but one specific aspect needs revision. The current regenerate/reroll flow can produce a new alternate swipe, and guided regeneration can steer that retry, but there is not an obvious command for “revise the previous response using these instructions while preserving what already works.”

Proposed behavior

Add an /amend <instruction> slash command that targets the latest assistant response by default, asks the model to revise that response according to the provided instruction, and saves the amended result as a new swipe/alternative.

Example uses:

  • /amend Dialogue needs more expletives, check her character card
  • /amend Dialogue and actions are good, but condense the prose
  • /amend The party should already reach the rooftop, instead of another empty office floor. Also, Felix no longer has his bag.

The command should reuse the existing regeneration/swipe machinery where possible, but frame the generation as a targeted revision of the previous response rather than a fresh reroll.

Expected owner or impact area

  • App shell, navigation, startup, or providers
  • Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Refactor branch considerations

This should stay narrow: ideally a slash-command/guided-regeneration improvement over the existing swipe/regenerate path. It should avoid creating a separate response-history model or broadening storage behavior unless the existing swipe path cannot support the command cleanly.

Alternatives considered

Users can currently enable guided swipes/regens and type guidance into the chat draft before regenerating a message. That covers part of the workflow, but it is less discoverable and less explicit than /amend, and it does not clearly tell the model to preserve the good parts of the previous response while revising the requested parts.

Additional context

Originally suggested in discussion #1795: https://github.com/orgs/Pasta-Devs/discussions/1795

Template check

Please uncheck 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 @cha1latte on GitHub (Jun 1, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1848 Originally assigned to: @cha1latte on GitHub. ## What problem does this solve? Sometimes an AI response is mostly right, but one specific aspect needs revision. The current regenerate/reroll flow can produce a new alternate swipe, and guided regeneration can steer that retry, but there is not an obvious command for “revise the previous response using these instructions while preserving what already works.” ## Proposed behavior Add an `/amend <instruction>` slash command that targets the latest assistant response by default, asks the model to revise that response according to the provided instruction, and saves the amended result as a new swipe/alternative. Example uses: - `/amend Dialogue needs more expletives, check her character card` - `/amend Dialogue and actions are good, but condense the prose` - `/amend The party should already reach the rooftop, instead of another empty office floor. Also, Felix no longer has his bag.` The command should reuse the existing regeneration/swipe machinery where possible, but frame the generation as a targeted revision of the previous response rather than a fresh reroll. ## Expected owner or impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge - [x] Chat mode - [x] Roleplay mode - [ ] Game mode - [x] Shared mode UI - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [x] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Refactor branch considerations This should stay narrow: ideally a slash-command/guided-regeneration improvement over the existing swipe/regenerate path. It should avoid creating a separate response-history model or broadening storage behavior unless the existing swipe path cannot support the command cleanly. ## Alternatives considered Users can currently enable guided swipes/regens and type guidance into the chat draft before regenerating a message. That covers part of the workflow, but it is less discoverable and less explicit than `/amend`, and it does not clearly tell the model to preserve the good parts of the previous response while revising the requested parts. ## Additional context Originally suggested in discussion #1795: https://github.com/orgs/Pasta-Devs/discussions/1795 ## Template check Please uncheck 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 05:23:05 +07:00
Author
Owner

@cha1latte commented on GitHub (Jun 1, 2026):

added in #1849

<!-- gh-comment-id:4596964852 --> @cha1latte commented on GitHub (Jun 1, 2026): added in #1849
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#894
No description provided.