[GH-ISSUE #3032] [Issue]: Response Order: Smart can fail hard and stop generation in Individual group chats #1601

Closed
opened 2026-10-21 05:40:28 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jun 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3032

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In Group Chat mode with Mode: Individual and Response Order: Smart, message generation can fail with "No response queue was created. Try triggering the response again." The issue appears intermittent and becomes much less frequent when switching to Manual response order.

Expected behavior

Smart response ordering should select a responder reliably or fall back to a safe default if the selector fails, rather than aborting generation.

Actual behavior

When Smart fails to produce a usable response queue, generation hard-aborts and shows "No response queue was created. Try triggering the response again."

Steps to reproduce

  1. Use a roleplay/group chat with 2 characters.
  2. Set Group Chat -> Mode to Individual and Response Order to Smart.
  3. Trigger message generation repeatedly until the response queue fails to be created.

Environment

  • Marinara Engine version: ME 2.0.6
  • Install type: termux
  • OS + version: Android
  • Browser or app shell: Termux

Logs, screenshots, or video

User-visible error: "No response queue was created. Try triggering the response again." No additional logs or attachments provided.

Additional context

Character Tracker agent is not enabled. User reports the issue is much less frequent or absent when Response Order is set to Manual. User also notes the chat model is primarily DeepSeek v4 Pro. Marinara response indicated Smart should return a simple JSON with the order.

Discord thread: Response Order: Smart returning empty and Failing Assistant Response
Discord thread link: https://discord.com/channels/1417099416812392641/1521163474871521350
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-06-29T14:40:34.260Z] DSBwizzard: ME 2.0.6
Android installation via Termux 
Roleplay chat

I have been encountering failed message generations (No response queue was created. Try triggering the response again) when in Roleplay now with 2 characters, using **Group Chat -> Mode: Individual -> Response Order: Smart**. If it matters I do not have the Character Tracker agent enabled.

If I swap to another Character chat Response Order such as "Manual" I do not encounter failed attempts nearly as often, if at all. It becomes much nore reliable.

Here is what Prof. Mari had to say on the matter:

The flow when Smart fails:

    selectSmartGroupResponders() calls the LLM with a prompt: "pick which character speaks next"
    If the LLM returns unparseable garbage, throws an error, or the abort fires → returns []
    The code then checks: "are we in individual + smart + no hand-picked character AND the queue is empty?" → fires response_queue_failed and hard-aborts generation


Is this a bug? Kind of, yeah — but it's more of a missing fallback. The smart selector is inherently best-effort (it's asking an LLM to do something flaky), and the code treats a failure as a hard stop instead of falling back to something reasonable like "just generate for the first character" or "fall back to sequential."
[Discord message: https://discord.com/channels/1417099416812392641/1521163474871521350/1521163474871521350]

[2026-06-29T14:50:36.636Z] DSBwizzard: The model I use for my chats is primarily deepseek v4 pro. I'm not immediately aware of where I can set the chats Connection for the Response Order: Smart, if it is different than the chats Connection. But I feel DS4 should be beyond capable of picking one of the characters to take a turn to chat anyways.
[Discord message: https://discord.com/channels/1417099416812392641/1521163474871521350/1521166001419587685]

[2026-06-29T15:13:08.420Z] Marinara: Yeah, it should just return a simple JSON with the order.
[Discord message: https://discord.com/channels/1417099416812392641/1521163474871521350/1521171671212626140]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jun 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3032 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In Group Chat mode with Mode: Individual and Response Order: Smart, message generation can fail with "No response queue was created. Try triggering the response again." The issue appears intermittent and becomes much less frequent when switching to Manual response order. ## Expected behavior Smart response ordering should select a responder reliably or fall back to a safe default if the selector fails, rather than aborting generation. ## Actual behavior When Smart fails to produce a usable response queue, generation hard-aborts and shows "No response queue was created. Try triggering the response again." ## Steps to reproduce 1. Use a roleplay/group chat with 2 characters. 2. Set Group Chat -> Mode to Individual and Response Order to Smart. 3. Trigger message generation repeatedly until the response queue fails to be created. ## Environment - Marinara Engine version: ME 2.0.6 - Install type: termux - OS + version: Android - Browser or app shell: Termux ## Logs, screenshots, or video User-visible error: "No response queue was created. Try triggering the response again." No additional logs or attachments provided. ## Additional context Character Tracker agent is not enabled. User reports the issue is much less frequent or absent when Response Order is set to Manual. User also notes the chat model is primarily DeepSeek v4 Pro. Marinara response indicated Smart should return a simple JSON with the order. Discord thread: Response Order: Smart returning empty and Failing Assistant Response Discord thread link: https://discord.com/channels/1417099416812392641/1521163474871521350 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-06-29T14:40:34.260Z] DSBwizzard: ME 2.0.6 Android installation via Termux Roleplay chat I have been encountering failed message generations (No response queue was created. Try triggering the response again) when in Roleplay now with 2 characters, using **Group Chat -> Mode: Individual -> Response Order: Smart**. If it matters I do not have the Character Tracker agent enabled. If I swap to another Character chat Response Order such as "Manual" I do not encounter failed attempts nearly as often, if at all. It becomes much nore reliable. Here is what Prof. Mari had to say on the matter: The flow when Smart fails: selectSmartGroupResponders() calls the LLM with a prompt: "pick which character speaks next" If the LLM returns unparseable garbage, throws an error, or the abort fires → returns [] The code then checks: "are we in individual + smart + no hand-picked character AND the queue is empty?" → fires response_queue_failed and hard-aborts generation Is this a bug? Kind of, yeah — but it's more of a missing fallback. The smart selector is inherently best-effort (it's asking an LLM to do something flaky), and the code treats a failure as a hard stop instead of falling back to something reasonable like "just generate for the first character" or "fall back to sequential." [Discord message: https://discord.com/channels/1417099416812392641/1521163474871521350/1521163474871521350] [2026-06-29T14:50:36.636Z] DSBwizzard: The model I use for my chats is primarily deepseek v4 pro. I'm not immediately aware of where I can set the chats Connection for the Response Order: Smart, if it is different than the chats Connection. But I feel DS4 should be beyond capable of picking one of the characters to take a turn to chat anyways. [Discord message: https://discord.com/channels/1417099416812392641/1521163474871521350/1521166001419587685] [2026-06-29T15:13:08.420Z] Marinara: Yeah, it should just return a simple JSON with the order. [Discord message: https://discord.com/channels/1417099416812392641/1521163474871521350/1521171671212626140] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:40:28 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jun 29, 2026):

This is already fixed on current staging by the Smart group fallback added in the earlier issue sweep: when the selector returns no usable queue in Individual + Smart mode, generation now falls back to a valid character instead of hard-aborting with "No response queue was created." This should ship with v2.0.7.

<!-- gh-comment-id:4834215695 --> @SpicyMarinara commented on GitHub (Jun 29, 2026): This is already fixed on current staging by the Smart group fallback added in the earlier issue sweep: when the selector returns no usable queue in Individual + Smart mode, generation now falls back to a valid character instead of hard-aborting with "No response queue was created." This should ship with v2.0.7.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1601
No description provided.