mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1034] [Issue]: custom agent prompt sections can lag one run behind #506
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#506
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 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1034
Originally assigned to: @cha1latte on GitHub.
Summary
Custom agent output added as a prompt section appears to be one turn behind, while the same agent output is inserted at the end of the prompt on the turn the agent runs.
Source Discord thread: https://discord.com/channels/1417099416812392641/1480379733173731458/threads/1506490621953577080
Reporter: Wozza
Expected behavior
When a custom pre-processing agent is included as a prompt section, the prompt section should contain the current agent output for the relevant turn or have clear behavior that does not indefinitely reuse stale output.
Actual behavior
With a pre-processing custom agent on a 5-turn cadence:
The reporter says that even if the agent is turned off, the preset keeps inserting the last output into the added prompt section indefinitely.
Steps to reproduce
Marinara Engine version
Not specified.
Install type
Not specified.
OS + version
Not specified.
Browser or app shell
Not specified.
Screenshots or video
Screenshots are referenced in the Discord post but are not attached here. See the source Discord thread.
Logs
The reporter said this log message helped diagnose the cadence behavior:
Additional context
The reporter concludes there may be a timing issue between main prompt creation and storage of agent output.
Template check