[GH-ISSUE #4594] [Issue]: Refused prompt is copied back into writing box #2506

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

Originally created by @SpicyMarinara on GitHub (Aug 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4594

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In Roleplay mode, when the API refuses a prompt with an error such as HTTP 403 for prohibited content, the sent prompt remains in chat history and is also copied back into the writing box.

Expected behavior

The sent prompt should remain in chat history without being reinserted into the writing box after the API refuses it.

Actual behavior

The refused prompt remains in chat history and is also inserted back into the writing box.

Steps to reproduce

  1. Open Marinara Engine in Roleplay mode.
  2. Send a prompt that the API refuses, such as one resulting in a prohibited-content HTTP 403 error.
  3. Observe that the prompt remains in chat history and is copied back into the writing box.

Environment

  • Marinara Engine version: 2.4.0
  • Install type: termux
  • OS + version: Android 16
  • Browser or app shell: Not provided

Logs, screenshots, or video

API refusal example: prohibited-content error 403. No logs, screenshots, or video provided.

Additional context

The reporter considers copying the prompt back into the writing box unnecessary because it already exists in chat history.

Discord thread: Bug report - Sent prompt is copied into writing box
Discord thread link: https://discord.com/channels/1417099416812392641/1534274042411090001
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-08-04T18:57:17.144Z] Fussel: ME version: 2.4.0
Installation method: Termux (Android 16)
Chatting mode: Roleplay

If I send a prompt and the API refuses to produce a response (eg. content prohibited error 403) the sent content remains in the chat history but is also inserted back into the writing box.
The copying into the writing box seems unnecessary as the message already exists in the chat history.
[Discord message: https://discord.com/channels/1417099416812392641/1534274042411090001/1534274042411090001]

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 @SpicyMarinara on GitHub (Aug 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4594 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In Roleplay mode, when the API refuses a prompt with an error such as HTTP 403 for prohibited content, the sent prompt remains in chat history and is also copied back into the writing box. ## Expected behavior The sent prompt should remain in chat history without being reinserted into the writing box after the API refuses it. ## Actual behavior The refused prompt remains in chat history and is also inserted back into the writing box. ## Steps to reproduce 1. Open Marinara Engine in Roleplay mode. 2. Send a prompt that the API refuses, such as one resulting in a prohibited-content HTTP 403 error. 3. Observe that the prompt remains in chat history and is copied back into the writing box. ## Environment - Marinara Engine version: 2.4.0 - Install type: termux - OS + version: Android 16 - Browser or app shell: Not provided ## Logs, screenshots, or video API refusal example: prohibited-content error 403. No logs, screenshots, or video provided. ## Additional context The reporter considers copying the prompt back into the writing box unnecessary because it already exists in chat history. Discord thread: Bug report - Sent prompt is copied into writing box Discord thread link: https://discord.com/channels/1417099416812392641/1534274042411090001 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-08-04T18:57:17.144Z] Fussel: ME version: 2.4.0 Installation method: Termux (Android 16) Chatting mode: Roleplay If I send a prompt and the API refuses to produce a response (eg. content prohibited error 403) the sent content remains in the chat history but is also inserted back into the writing box. The copying into the writing box seems unnecessary as the message already exists in the chat history. [Discord message: https://discord.com/channels/1417099416812392641/1534274042411090001/1534274042411090001] ``` </details> ## 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 05:49:09 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Aug 4, 2026):

Claimed for the v2.4.1 stabilization pass; implementation and regression proof will be tracked in draft PR #4590 against staging.

<!-- gh-comment-id:5183466445 --> @SpicyMarinara commented on GitHub (Aug 4, 2026): Claimed for the v2.4.1 stabilization pass; implementation and regression proof will be tracked in draft PR #4590 against staging.
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#2506
No description provided.