mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8364] [MERGED] fix(connections): list Arli AI image models on Fetch #8319
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#8319
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/8364
Author: @Promansis
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @Promansis
Base:
staging← Head:fix/arli-image-model-fetch📝 Commits (1)
0c1336efix(connections): list Arli AI image models on Fetch (#8363)📊 Changes
1 file changed (+23 additions, -0 deletions)
View changed files
📝
packages/server/src/routes/connections.routes.ts(+23 -0)📄 Description
Linked issue
Closes #8363
Why this change
Pressing Fetch on an Arli AI image-generation connection did not show the image models. The Arli image source had no branch in
GET /api/connections/:id/models, so it fell through to the generic<baseUrl>/modelscall, which returns Arli's chat models. Arli's documented image-model endpoint (/v1/models/image-models) answers 404 in practice;/sdapi/v1/sd-modelsis the one that works. The existing A1111 branch can't be reused because it appends the path to the/v1base URL and sends no auth header.What changed
packages/server/src/routes/connections.routes.ts: newarliimage-source branch that calls<origin>/sdapi/v1/sd-modelswith the Bearer key, returnsmodel_nameas the model id, and dropsmodelType: "caption"entries (not image generators). A non-OK reply surfaces asArli AI returned <status>: ….Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Author ran
pnpm check(exit 0) and pressed Fetch on a real Arli connection against a test server on a separate port; the checkpoints listed. Still to verify manually:Arli AI returned 401: …error.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.