mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7798] [Feature]: Copy assembled prompt from Peek Prompt #4306
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#4306
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 @DSBwizzard on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7798
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Users inspecting a chat reply with Peek Prompt may want to debug the assembled prompt as a whole, either manually or by pasting it into an LLM tool of their choice. Currently, the Assembled Prompt viewer appears to require expanding every field, highlighting the content, and copying it manually with keyboard shortcuts.
Proposed solution
Add a small Copy assembled prompt button to the existing Peek Prompt window on chat surfaces. One click should copy the complete assembled text prompt in message order, including content in collapsed sections and chat history, with clear message-role boundaries.
For an exact saved request, copy that saved prompt rather than rebuilding it from current chat settings. Copying should not send a model request or change the prompt. Keep this scoped to the existing viewer and its text content.
Alternatives considered
Expand every section and manually highlight and copy the prompt using keyboard shortcuts. This is cumbersome for a long assembled prompt.
Additional context
Related: #6440 proposed a broader ordered, filterable prompt view with copy behavior and was closed as not planned. This request is specifically for a single copy button in the existing viewer. Would this narrower scope be acceptable?
The current staging Peek Prompt viewer was inspected at
b4392bf1d1. Related issues, open PRs, upstream branches, and the Marinara Engine Roadmap were checked; no matching active board item was found. No private prompt content is included.Proposed implementation owner: @DSBwizzard, with Codex assistance, pending scope agreement. Assignment to SpicyMarinara was denied by GitHub permissions; mentioning @SpicyMarinara here as the documented fallback. No implementation has started.
Template check
@SpicyMarinara commented on GitHub (Oct 19, 2026):
Thank you @DSBwizzard for the clear, narrow scope and for checking the earlier #6440 discussion first. The maintainer approved this request, and it is being built in https://github.com/Pasta-Devs/Marinara-Engine/pull/7807. That PR adds one copy button to the Peek Prompt header. It copies the whole prompt the viewer is showing as plain text, in message order, with a
[system]/[user]/[assistant]line before each message. Collapsed sections and chat history are included, and an exact saved request is copied as saved, never rebuilt. Nothing is sent to a model.@SpicyMarinara commented on GitHub (Oct 19, 2026):
Added on staging by #7807; it ships in the next release. Thank you for the clear scope!