[GH-ISSUE #437] [Issue]: Agent fallback to paid API intermittently skipped when local sidecar is unavailable #187

Closed
opened 2026-10-20 17:26:02 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @cha1latte on GitHub (May 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/437

Originally assigned to: @cha1latte on GitHub.

Summary

When the local sidecar is unavailable and a paid API connection is explicitly selected as the fallback for agents, Marinara sometimes skips the agents instead of using the configured fallback connection.

A force-continue or message regeneration appears to make the fallback work again in some chats, but the issue can return after removing and re-adding agents.

Discord thread

Expected behavior

If a paid API fallback is explicitly configured by the user, agents should use that fallback connection when the local sidecar is unavailable.

If no fallback API is configured, the warning is appropriate, but the user should be given a clear chance to set a fallback and then have agents use it.

Actual behavior

Marinara sometimes skips the agents entirely when the local sidecar is unavailable, even though a paid API fallback connection was selected.

The warning shown is:

Expression Engine, World State and Quest Tracker requested Local Model, but the local sidecar is unavailable. Marinara skipped these agents instead of falling back to a paid API connection.

After forcing the chat to continue and regenerating a message, the selected fallback API started working again in some chats. Regeneration also appeared to fix the behavior in other chats. However, the warning/error can still appear after taking agents off and re-adding them, until another regeneration is performed.

Steps to reproduce

  1. Use Marinara Engine v1.5.8 build 3281d01.
  2. Configure agents such as Expression Engine, World State, and Quest Tracker to request/use the local model.
  3. Configure a paid API connection as the explicit fallback for agents.
  4. Make the local sidecar unavailable.
  5. Continue or generate in chat.
  6. Observe that Marinara may skip the agents instead of using the selected paid API fallback.
  7. Force-continue the chat or regenerate a message.
  8. Observe that the fallback API may start working again.
  9. Remove and re-add the agents.
  10. Observe that the warning/error may return until another regeneration is performed.

Environment

  • Marinara Engine version: v1.5.8 build 3281d01
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Warning shown in the UI:

Expression Engine, World State and Quest Tracker requested Local Model, but the local sidecar is unavailable. Marinara skipped these agents instead of falling back to a paid API connection.

Screenshot provided showing the same warning.

Additional context

This may be related to the recent fix for silent paid API billing. The new behavior may be overcorrecting by skipping agents even when the user explicitly configured a paid fallback connection.

The issue appears intermittent. Regenerating a message seems to refresh or reapply the fallback behavior, but removing and re-adding agents can cause the warning/error to return.

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 @cha1latte on GitHub (May 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/437 Originally assigned to: @cha1latte on GitHub. ## Summary When the local sidecar is unavailable and a paid API connection is explicitly selected as the fallback for agents, Marinara sometimes skips the agents instead of using the configured fallback connection. A force-continue or message regeneration appears to make the fallback work again in some chats, but the issue can return after removing and re-adding agents. [Discord thread](https://discord.com/channels/1417099416812392641/1501237275990822962) ## Expected behavior If a paid API fallback is explicitly configured by the user, agents should use that fallback connection when the local sidecar is unavailable. If no fallback API is configured, the warning is appropriate, but the user should be given a clear chance to set a fallback and then have agents use it. ## Actual behavior Marinara sometimes skips the agents entirely when the local sidecar is unavailable, even though a paid API fallback connection was selected. The warning shown is: ```text Expression Engine, World State and Quest Tracker requested Local Model, but the local sidecar is unavailable. Marinara skipped these agents instead of falling back to a paid API connection. ``` After forcing the chat to continue and regenerating a message, the selected fallback API started working again in some chats. Regeneration also appeared to fix the behavior in other chats. However, the warning/error can still appear after taking agents off and re-adding them, until another regeneration is performed. ## Steps to reproduce 1. Use Marinara Engine `v1.5.8` build `3281d01`. 2. Configure agents such as Expression Engine, World State, and Quest Tracker to request/use the local model. 3. Configure a paid API connection as the explicit fallback for agents. 4. Make the local sidecar unavailable. 5. Continue or generate in chat. 6. Observe that Marinara may skip the agents instead of using the selected paid API fallback. 7. Force-continue the chat or regenerate a message. 8. Observe that the fallback API may start working again. 9. Remove and re-add the agents. 10. Observe that the warning/error may return until another regeneration is performed. ## Environment - Marinara Engine version: `v1.5.8` build `3281d01` - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Warning shown in the UI: ```text Expression Engine, World State and Quest Tracker requested Local Model, but the local sidecar is unavailable. Marinara skipped these agents instead of falling back to a paid API connection. ``` Screenshot provided showing the same warning. ## Additional context This may be related to the recent fix for silent paid API billing. The new behavior may be overcorrecting by skipping agents even when the user explicitly configured a paid fallback connection. The issue appears intermittent. Regenerating a message seems to refresh or reapply the fallback behavior, but removing and re-adding agents can cause the warning/error to return. ## 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-20 17:26:02 +07:00
  • closed this issue
  • added the
    bug
    label
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#187
No description provided.