mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #789] [Issue]: Pre-generation custom agent prompt tags use stale names and influence model behavior #381
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#381
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 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/789
Originally assigned to: @cha1latte on GitHub.
Summary
Custom agents running in Pre-Generation mode and sending their output as a prompt section appear to wrap that output in a generated tag that uses the agent's original name instead of its current renamed value. The tag text is also visible enough to the main LLM that it can influence reasoning.
Source: https://discord.com/channels/1417099416812392641/1503992985530925067
Expected behavior
Pre-generation custom agent prompt sections should use current agent metadata when generating prompt-section tags. The tag should avoid unintentionally influencing the main model's interpretation of the custom agent output, or the custom agent creator should have enough control over the tag/name used for the section.
Actual behavior
The generated prompt section tag uses the agent name
test-agent, which was the original name the reporter created the agent with, even though the agent was later renamed. The main LLM appears to consider words inside that tag when deciding how seriously to treat the prompt section.Example output:
Steps to reproduce
test-agent.Marinara Engine version
Not specified.
Install type
Other
OS + version
Not specified.
Browser or app shell
Not specified.
Screenshots or video
Not a visual/UI issue.
Logs
Not provided.
Additional context
Reporter's two noted problems:
testin the tag made it treat the section as safe to ignore because it looked like a test tag.Reporter suggested that the custom agent creator should have full control over this, likely by using the current agent name.
Template check