mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3930] [MERGED] Fix scoped Illustrator retries and empty-response fallback #6161
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#6161
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3930
Author: @SpicyMarinara
Created: 7/21/2026
Status: ✅ Merged
Merged: 7/21/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/fix-illustrator-retry-empty-fallback📝 Commits (3)
5fe831eScope Illustrator visual retriesa2c36e7Use fallback for empty model responses0e68de6Address CodeRabbit review feedback📊 Changes
12 files changed (+274 additions, -24 deletions)
View changed files
📝
package.json(+1 -1)📝
packages/client/src/components/chat/ChatArea.tsx(+12 -1)📝
packages/client/src/components/chat/RoleplayHUDActionsMenu.tsx(+1 -1)📝
packages/client/src/hooks/use-generate.ts(+61 -10)📝
packages/client/src/lib/agent-failures.ts(+32 -0)📝
packages/client/src/stores/agent.store.ts(+2 -1)📝
packages/server/src/routes/generate.routes.ts(+3 -0)📝
packages/server/src/routes/generate/retry-agents-route.ts(+29 -1)➕
packages/server/src/services/generation/illustrator-retry-targets.ts(+22 -0)📝
packages/server/src/services/llm/connection-fallback-provider.ts(+12 -9)➕
scripts/regressions/illustrator-visual-retry.regression.ts(+62 -0)📝
scripts/regressions/provider-compat.regression.ts(+37 -0)📄 Description
Why
Two generation failure paths currently do more work than users expect:
The first behavior wastes an already successful image generation. The second can leave a turn without usable output despite a configured fallback.
Fixes #3929.
What changed
Validation performed
pnpm checkpnpm regression:providerspnpm regression:roleplayTest plan
Summary by CodeRabbit
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.