[GH-ISSUE #8692] [Issue]: Assistant Prefill is not the last message sent to the model #8459

Closed
opened 2026-11-07 16:43:06 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The Assistant Prefill setting should make the prompt sent to the model end on an assistant message with exactly that text.

Expected behavior

  • The last message sent to the model is an assistant message with the prefill text. It comes after everything else, including the user's depth 0 prompts.
  • If a model does not accept an assistant message as the last message, the prefill is added to the last assistant message already in the chat history, before it. That shows the model the last turn where the prefill was used.

Actual behavior

Content added after the prefill, such as depth 0 prompts, can end up after it, so the prompt does not end on the prefill.

Requested by: Marinara (SpicyMarinara).

Originally created by @SpicyMarinara on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8692 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The Assistant Prefill setting should make the prompt sent to the model end on an assistant message with exactly that text. ## Expected behavior - The last message sent to the model is an assistant message with the prefill text. It comes after everything else, including the user's depth 0 prompts. - If a model does not accept an assistant message as the last message, the prefill is added to the last assistant message already in the chat history, before it. That shows the model the last turn where the prefill was used. ## Actual behavior Content added after the prefill, such as depth 0 prompts, can end up after it, so the prompt does not end on the prefill. Requested by: Marinara (SpicyMarinara).
bsakaguchi 2026-11-07 16:43:06 +07:00
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#8459
No description provided.