mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5066] [MERGED] fix(image): bound NanoGPT reference payloads #6611
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#6611
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/5066
Author: @SpicyMarinara
Created: 8/15/2026
Status: ✅ Merged
Merged: 8/15/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/5058-nanogpt-image-payload📝 Commits (6)
10329b5fix(image): bound NanoGPT reference payloadsbe23474Merge remote-tracking branch 'origin/staging' into fix/5058-nanogpt-image-payloadff1169aMerge branch 'staging' into fix/5058-nanogpt-image-payloadd2287cdMerge remote-tracking branch 'origin/staging' into fix/5058-nanogpt-image-payloadf320462Merge remote-tracking branch 'origin/fix/5058-nanogpt-image-payload' into fix/5058-nanogpt-image-payloadfc501beMerge remote-tracking branch 'origin/staging' into fix/5058-nanogpt-image-payload📊 Changes
3 files changed (+146 additions, -19 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/server/src/services/image/image-generation.ts(+67 -11)📝
scripts/regressions/provider-compat.regression.ts(+78 -8)📄 Description
Linked issue
Closes #5058
Why this change
NanoGPT image requests could exceed the provider’s documented 4 MB image-upload limit when Illustrator supplied several references. Separately, successful base64 output was accepted without validating that it contained image bytes, leaving malformed output to become a broken gallery image.
What changed
Validation
pnpm regression:providerspnpm checkDocs and release impact
Manual verification requested: generate one Illustrator image with multiple large references and one without references using a real NanoGPT Qwen Image connection, then confirm both appear in chat and Gallery.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.