mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8484] [MERGED] fix(llm): fall back from explicit unsupported-image HTTP 500 #8627
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#8627
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/8484
Author: @SpicyMarinara
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/8470-lorebook-image-500-fallback📝 Commits (2)
c1c5ec1test(llm): reproduce explicit image incompatibility 500af75d49fix(llm): retry explicit unsupported image HTTP 500 as text📊 Changes
2 files changed (+118 additions, -2 deletions)
View changed files
📝
packages/server/src/services/llm/lorebook-image-provider.ts(+1 -1)📝
scripts/regressions/lorebook-image-prompt.regression.ts(+117 -1)📄 Description
Linked issue
Closes #8470
Why this change
Text-only llama.cpp endpoints can report “image input is not supported” as HTTP 500. Lorebook reference images then abort the whole reply instead of using the existing text-only fallback.
What changed
Validation
Final head:
af75d497170fa46dedc8b53be8887e4df425f16c.pnpm check: passed, including localization, formatting, workspace lint/types, E2E types, token-estimation types, and production builds. One existing Hook dependency warning remains in the unchanged HomeProfessorMariChat.node scripts/run-regressions.mjs --filter scripts/regressions/lorebook-image-prompt.regression.ts: passed. The same real-wrapper regression first reproduced the reported 500 on staging; the repaired stream/nonstream cases and boundary controls pass.pnpm regression:prompt: all three regression scripts passed.origin/stagingat this committed head and completed with zero findings.The provider errors are controlled fixtures through the actual compatibility wrapper. No live llama.cpp/provider, container, or browser run is claimed.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
No UI labels, provider settings, prompt content, release files, or documentation change. This restores the existing compatibility policy for another explicit endpoint error status.
UI evidence (if applicable)
No UI change.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.