mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #877] [Issue]: Illustrator retry can skip default image connection without an error #429
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#429
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 @Xelvanis on GitHub (May 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/877
Originally assigned to: @cha1latte on GitHub.
Summary
Manual Illustrator image generation can complete without producing an image when the Illustrator agent relies on the default image generation connection instead of an explicit agent override.
Discord support report: the agent request is created with
shouldGenerate: true, but Game/RP manual Illustrate shows no Marinara debug output, no Forge/backend request, and eventually reportsagent retry completed. Selecting the same image generation connection directly in Settings -> Agents -> Illustrator makes the image generation work.Expected behavior
If an image generation connection is marked as the default for Illustrator, the Illustrator agent should use it when its Image Generation Connection Override is empty.
If no image connection can be resolved, manual Illustrate/retry should emit an actionable
agent_errorinstead of completing silently.Actual behavior
When relying on the default Illustrator image connection, manual Illustrate/retry can appear to run the Illustrator agent successfully but produce no image and send no request to the image backend.
Setting the same connection as an explicit Illustrator agent override works around the issue.
Steps to reproduce
shouldGenerate: true.Environment
Logs, screenshots, or video
Reported evidence:
shouldGenerate: true.agent retry completedwith no image output.Code paths worth checking:
packages/server/src/routes/generate/retry-agents-route.tsresolvesimageConnectionIdfrom the Illustrator agent settings, then falls back to animage_generationconnection withdefaultForAgents === true || "true". If noimgConnIdresolves, the current retry path appears to skip image generation without sending anagent_error.packages/server/src/routes/generate.routes.tshas a separate Illustrator path that does emit anagent_errorwhen no image connection resolves.packages/client/src/components/agents/AgentEditor.tsxpresents the empty Illustrator override as using the default Illustrator image connection.packages/client/src/components/connections/ConnectionEditor.tsxsaves the image default viadefaultForAgents.Additional context
Workaround: explicitly select the image generation connection in Settings -> Agents -> Illustrator instead of relying on the default Illustrator connection.
Suggested investigation:
provider: "image_generation"anddefaultForAgents: "true"ortrue.retry-agents-route.tssees that connection viaconns.list().agent_errorin the retry path whenshouldGenerateis true but no image connection resolves, matching the normal generation route's behavior.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: