[GH-ISSUE #7798] [Feature]: Copy assembled prompt from Peek Prompt #4306

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

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

  • I DID NOT read this template and provide the requested details.
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 b4392bf1d1ff03fed6775aefe0284325cd161b9d. 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 - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:14:35 +07:00
Author
Owner

@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.

<!-- gh-comment-id:6264287012 --> @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.
Author
Owner

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

Added on staging by #7807; it ships in the next release. Thank you for the clear scope!

<!-- gh-comment-id:6265396894 --> @SpicyMarinara commented on GitHub (Oct 19, 2026): Added on staging by #7807; it ships in the next release. Thank you for the clear scope!
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#4306
No description provided.