mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8026] [Issue]: Roleplay TTS autoplay waits for non-rewriting agents before starting voice generation #7527
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#7527
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 @SpicyMarinara on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8026
Originally assigned to: @SpicyMarinara on GitHub.
Summary
With TTS and auto-play enabled in roleplay mode, voice generation waits for every agent to finish after the main response is received. This adds unnecessary delay when the extra calls only decide the speaker and emotions.
Reported by @SpicyMarinara; not independently reproduced while filing this issue.
Expected behavior
Voice generation should start as soon as the main model response is received, without waiting for non-rewriting agents such as speaker or emotion analysis.
Exception: if any enabled agent rewrites the response text (for example, Prose Guardian), wait for the rewriting agents to finish and generate speech from the final rewritten response.
Actual behavior
Voice generation only starts after all agents have finished, including the extra speaker and emotion calls.
Steps to reproduce
Based on the reported setup:
Environment
Logs, screenshots, or video
Not provided.
Additional context
The goal is to reduce the delay before automatic speech begins while ensuring that text-rewriting agents remain a prerequisite for voice generation. The exception applies to any enabled rewriting agent, not only Prose Guardian.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 21, 2026):
Codex is handling this issue in the maintainer's assigned-issue sweep, on
fix/assigned-issue-sweep-20261022, targetingstaging. Existing contributor PRs are excluded from this sweep. Ownership: @SpicyMarinara, assisted by Codex.@SpicyMarinara commented on GitHub (Oct 21, 2026):
Implemented in #8027 and merged into
stagingat 4d67fe75b3. Reviewed-head and merge ancestry are verified.Roleplay publishes the saved main response before unrelated activation calls when no text-rewriting agent is enabled, allowing the existing speaker/emotion preparation to start earlier. Enabled rewriting agents still hold readiness until the final text is saved. Macro variables are committed before the next turn is unlocked. Delayed-agent, rewrite, concurrent-turn, error/abort and exactly-once/backpressure controls passed.
Final PR-head validation passed all eight required checks, 973/973 Node regressions and all ten platform checks; review findings were fixed or resolved with documented reasons. Closing as completed.