mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1337] Slurp: send reference images to SpicyAPI edit models #683
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#683
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 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1337
Originally assigned to: @SpicyMarinara on GitHub.
Problem
Marinara Engine is adding a SpicyAPI image service (Pasta-Devs/Marinara-Engine#7489, closes Pasta-Devs/Marinara-Engine#7478). SpicyAPI edit models, whose IDs end in
/edit, accept reference images. The Engine shrinks the references to SpicyAPI's 1 MB per image and 2 MB per request limits and sends them.Slurp never sends them.
slpImageReferencesSupportedinpackages/slurp2/src/engine/packages/server/src/slp/base/media/slp-image-references.tsreturnsfalsefor thespicyapiservice. Both callers then dropreferenceImagesbefore callinggenerateImage:packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-images-service.ts(allowAvatarReferences)packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-public-images-service.ts(allowAvatarReferences)So a Slurp image connection on a SpicyAPI edit model generates without the avatar reference, even with avatar references turned on.
Suggested change
Allow
spicyapiwhen the model ID ends in/edit, and keep every existing rule as it is:Note: the service fallback uses
inferImageSourcefrom the frozen vendored shared snapshot, which does not knowspicyapi.aihosts. A connection that sets the SpicyAPI service explicitly works with the line above. If connections without a service field should work too, match thespicyapi.aihost in package-owned code, because the vendored shared dist cannot be refreshed.Acceptance
/editpasses avatar references togenerateImage.alibaba/z-image-spicy-pro/text-to-image) still get text only.spicyapiservice.Reported by CodeRabbit on Engine #7489: https://github.com/Pasta-Devs/Marinara-Engine/pull/7489
@SpicyMarinara commented on GitHub (Oct 13, 2026):
Partly prepared in #1356:
slpImageReferencesSupportednow allows SpicyAPI edit models (model IDs ending in/edit). Still missing: Slurp's bundledgenerateImagecomes from the frozensources/enginesnapshot, which has no SpicyAPI adapter. The frozeninferImageSource/normalizeExplicitImageSourcesend aspicyapiconnection down the OpenAI images path, so SpicyAPI pictures don't generate in Slurp at all yet. Next step: a package-owned SpicyAPI adapter overlay that mirrors the Engine's (Pasta-Devs/Marinara-Engine#7489). Then the reference images take effect.