mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #520] [Issue]: RP mode sends chat history as a single user message to llama.cpp #240
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#240
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 @cha1latte on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/520
Originally assigned to: @cha1latte on GitHub.
Summary
In RP mode, Marinara Engine appears to send the entire chat history as a single
usermessage for a llama.cpp/OpenAI-compatible request. This makes the request look like a two-message payload (systemplus oneusercontaining<chat_history>,<last_message>, and<output_format>) instead of preserving the conversational role structure.Expected behavior
Chat history should be formatted in a way that preserves the conversation structure expected by the target model/provider, so the model receives prior user/assistant turns as distinct chat messages or an otherwise intentional provider-compatible format.
Actual behavior
The reporter's simplified llama.cpp request log shows a payload shaped like:
The reporter notes that the model seems to function, but they do not trust that it is performing as well as it should when the chat history is not prompted with proper structure.
Steps to reproduce
usermessage rather than as distinct chat turns.Environment
G4-MeroMero-31B.i1-Q4_K_M.ggufLogs, screenshots, or video
Reporter provided a simplified llama.cpp request log in the issue text. No separate uploadable log file or Discord thread URL was provided.
Additional context
Original reporter summary:
"so, i'm using ME with meromero-31b (gemma4) through llamacpp and i noticed the formatting (at least in rp mode) is really weird. the entire chat history is sent as a single user message for some reason. i.e. the model cannot be expected to work properly. it seems to function ok, but i don't trust that it's as intelligent if not prompted properly."
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: