mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3692] [Issue]: Custom agents (maybe any agents?) can't run in conversations #1996
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#1996
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 @rainedaye on GitHub (Jul 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3692
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Custom chat agents can't run in conversation mode even if you specifically select "enable agents" and then add one to the chat. Marinara appears to be blocking them while in conversation mode.
I wanted a custom agent to rewrite responses to include typing quirks/speech patterns that models found it difficult to follow organically just from normal prompting and example messages.
Expected behavior
Added a custom agent to check what is going on whose job was just to add a marker "[REWRITER DEFINITELY RAN]", it should add that text to the start of messages.
Actual behavior
Nothing happens
Steps to reproduce
Environment
Logs, screenshots, or video
Grepped the logs to see if the agent is even actually running, got this:
Enable agents is false despite "enable agents" being toggled withim the chat's ui.
Additional context
In:
There is:
Which contains:
Which appears to force agents off in conversations no matter what, even if you toggled them on.
After changing the mentioned function to:
My test agent was able to run:
Opt QoL?: For text rewriting agents in conversations, it might be better to like not reveal the final message until the rewrite is done for ✨️immersion✨️. Right now the original message renders, stays for a few moments, then rerenders with the edits.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: