mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3170] [Issue]: Add manual image input override for Image Captioning connections #1701
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#1701
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 (Jul 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3170
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Image Captioning connection selection currently depends on provider/model-name heuristics, which can exclude valid local or custom multimodal models. Add a manual connection-level override so advanced users can allow a connection to appear in the Image Captioning dropdown.
Expected behavior
Users should be able to mark a connection as supporting image input, allowing it to appear in the Image Captioning dropdown even when the model name is not recognized by the automatic heuristic.
Actual behavior
Connections are only shown when detected as vision-capable by provider/model-name heuristics. Valid multimodal local or custom models with names such as "gemma-4-31b" may be hidden unless the user renames the model or creates a proxy alias.
Steps to reproduce
Environment
Logs, screenshots, or video
Discord context includes suggested implementation:
function isLikelyVisionConnection(connection: Record<string, unknown>): boolean {
const provider = typeof connection.provider === "string" ? connection.provider : "";
const model = typeof connection.model === "string" ? connection.model.toLowerCase() : "";
if (connection.supportsImageInput === true) {
return provider !== "image_generation";
}
if (!model || provider === "image_generation") return false;
// existing heuristic continues here...
}
Additional context
Suggested UI label: "Supports image input" or "Allow this connection for Image Captioning". Suggested warning: "Only enable this if the endpoint supports image attachments. Requests may fail if the model is text-only." Maintainer response: "We should allow users to choose any model there."
Discord thread: Add manual “supports image input” override for Image Captioning connections
Discord thread link: https://discord.com/channels/1417099416812392641/1522376863941529803
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 3, 2026):
Codex is taking this in branch
codex/issue-sweep-3169-3173, tracked by PR #3177.@SpicyMarinara commented on GitHub (Jul 3, 2026):
Addressed in PR #3177. Local validation passed: pnpm regression:prompt; pnpm --filter @marinara-engine/shared build; pnpm check.