[GH-ISSUE #3929] [Issue]: Use fallback model when the AI returns an empty response #2124

Closed
opened 2026-10-21 05:45:36 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The fallback model should be invoked when the primary AI returns an empty response. Empty responses may occur when filters are triggered.

Expected behavior

When the primary AI returns an empty response, Marinara should use the configured fallback model to generate a response.

Actual behavior

The AI can return an empty response, and the fallback model is not used.

Steps to reproduce

  1. Configure a primary AI model and a fallback model.
  2. Trigger a request that causes the primary AI to return an empty response, such as when filters are triggered.
  3. Observe that the fallback model is not used.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

Marinara indicated that empty responses usually happen because filters are triggered.

Discord thread: Expand fallback model options.
Discord thread link: https://discord.com/channels/1417099416812392641/1529242812128821348
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-07-21T21:44:58.369Z] Luka: I would like to see the fallback model also be used when the ai returns an empty response.
[Discord message: https://discord.com/channels/1417099416812392641/1529242812128821348/1529242812128821348]

[2026-07-21T22:45:12.272Z] Marinara: That usually happens because filters kicked in.
[Discord message: https://discord.com/channels/1417099416812392641/1529242812128821348/1529257969936634047]

[2026-07-21T22:45:29.885Z] Marinara: But sure.
[Discord message: https://discord.com/channels/1417099416812392641/1529242812128821348/1529258043810775040]

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 (Jul 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3929 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The fallback model should be invoked when the primary AI returns an empty response. Empty responses may occur when filters are triggered. ## Expected behavior When the primary AI returns an empty response, Marinara should use the configured fallback model to generate a response. ## Actual behavior The AI can return an empty response, and the fallback model is not used. ## Steps to reproduce 1. Configure a primary AI model and a fallback model. 2. Trigger a request that causes the primary AI to return an empty response, such as when filters are triggered. 3. Observe that the fallback model is not used. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context Marinara indicated that empty responses usually happen because filters are triggered. Discord thread: Expand fallback model options. Discord thread link: https://discord.com/channels/1417099416812392641/1529242812128821348 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-07-21T21:44:58.369Z] Luka: I would like to see the fallback model also be used when the ai returns an empty response. [Discord message: https://discord.com/channels/1417099416812392641/1529242812128821348/1529242812128821348] [2026-07-21T22:45:12.272Z] Marinara: That usually happens because filters kicked in. [Discord message: https://discord.com/channels/1417099416812392641/1529242812128821348/1529257969936634047] [2026-07-21T22:45:29.885Z] Marinara: But sure. [Discord message: https://discord.com/channels/1417099416812392641/1529242812128821348/1529258043810775040] ``` </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:45:36 +07:00
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#2124
No description provided.