mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7697] [Issue]: Identify failed random-pool connection in fallback toast and message metadata #4250
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#4250
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 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7697
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When a randomly selected pool connection fails, the fallback toast identifies the fallback connection and model but not the failed selection. Preserve the originally selected connection and model so users can identify failing pool members.
Expected behavior
The fallback toast should name both the failed connection/model and the fallback connection/model, ideally with a short failure reason. Message info or swipe metadata should retain the selected connection/model and the connection/model that actually produced the generation when they differ.
Actual behavior
The engine retries through the configured fallback and displays a toast, but the toast does not identify which random-pool connection failed. The model name above the message identifies the model that produced the output, so the failed selection cannot be inspected afterward.
Steps to reproduce
Environment
Logs, screenshots, or video
Not provided. The report contains a placeholder rather than the exact toast wording. No support diagnostics were supplied.
Additional context
The missing information prevents users from identifying pool members with bad keys, deprecated model IDs, or rate limits, and complicates quality comparisons and cost tracking. The reporter references v2.2.1 release notes for existing fallback connection/model identification, but does not state their installed version. As an alternative, the reporter proposes read-only extension events such as generation_connection_selected or generation_fallback carrying chatId, pickedConnectionId, pickedModel, usedConnectionId, usedModel, and reason; they report that documented sandboxed extensions lack the necessary hooks. After clarification, Marinara acknowledged the request: "Got it now. Will add the info."
Discord thread: show which connection was picked, and name the failed primary in the fallback toast
Discord thread link: https://discord.com/channels/1417099416812392641/1560323326344171570
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (9 messages)
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 16, 2026):
Working on this in #7720.