mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #719] [MERGED] Fix Horde image generation endpoints #4744
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#4744
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/719
Author: @cha1latte
Created: 5/11/2026
Status: ✅ Merged
Merged: 5/11/2026
Merged by: @cha1latte
Base:
main← Head:fix/issue-711-horde-image-api📝 Commits (1)
4184704Fix Horde image generation endpoints📊 Changes
4 files changed (+398 additions, -1 deletions)
View changed files
📝
packages/server/src/routes/connections.routes.ts(+62 -1)📝
packages/server/src/services/image/image-generation.ts(+143 -0)➕
packages/server/test/connections-horde-routes.test.ts(+119 -0)📝
packages/server/test/image-generation-local.test.ts(+74 -0)📄 Description
Linked issue
Closes #711
Why this change
/modelsand/images/generationspaths that Horde does not serve and returned HTML 404 responses.What changed
/api/v2/generate/async,/api/v2/generate/check/{id}, and/api/v2/generate/status/{id}./api/v2/status/heartbeat./api/v2/status/models?type=image.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
scratch/issue-711-horde-repro.mjsreproduced the old failure against a Horde-shaped local API: before the fix, generation posted to/api/v2/images/generationsand failed withOpenAI image generation failed (404): 404 Not Found Not Found./api/v2/generate/async,/api/v2/generate/check/job-711, and/api/v2/generate/status/job-711.pnpm --dir packages/server exec tsx --import ./test/setup-env.ts --test test/image-generation-local.test.ts test/connections-horde-routes.test.tspassed 7 tests.pnpm checkpassed.scratch/bugfix-verification.jsonrecords the repro, verification, baseline, and final done gate locally.Docs and release impact
No docs or release metadata changes were needed; this changes provider routing behavior only.
UI evidence (if applicable)
N/A — backend/provider-routing fix with command-level proof; no UI layout changed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.