mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6714] [Feature]: Decouple decision connection from forced local sidecar #3763
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#3763
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 @usagirei on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6714
Originally assigned to: @kolacheee on GitHub.
What problem does this solve?
Currently, you are forced to use the sidecar runtime for the decision model, even if you are locally hosting your own endpoints / servers.
As it stands, you cannot select a running OpenAI compatible endpoint (ollama, lm-studio, another machine on the local network, etc) for it, and decisions are disabled unless you enable the sidecar.
You can end up possibly running two local models and running out of VRAM, because it assumes only the local sidecar will use VRAM, which is not necessarily true.
This also can mean a duplicate 10+GB model sitting somewhere else in the system, if the user already had the same model sitting around in another provider folder, marinara still wants its own copy for the local sidecar. (Partially solvable by symlinks, but doesn't solve the main problem, and requires manual intervention)
Proposed solution
Let users pick a regular connection for the decision model.
The forced local sidecar runtime restriction seems pointless.
Alternatives considered
N/A
Additional context
Paging @kolacheee
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@kolacheee commented on GitHub (Sep 26, 2026):
This doesn't work for you @usagirei ?
@usagirei commented on GitHub (Sep 26, 2026):
I wasn't aware of that, the interface hints heavily towards the sidecar.
Regardless, that exposes only a specific subset of connections types.
You can't point it towards an already running ollama server that hosts Gemma4 E2B for example, while that works when using the sidecar running a separate instance of llama-server with it (with no decision specific model).
@usagirei commented on GitHub (Sep 26, 2026):
For more context - you can load a non decision model on the sidecar and choose it, but you can't pick a non decision model from your existing connections (regardless if they are local)
@SpicyMarinara commented on GitHub (Sep 26, 2026):
I'm not sure why you're paging one specific dev; please avoid doing that in the future. The Decision model feature is still being worked on, as it was added recently, so I appreciate your understanding and patience as we continue to iterate on it. Thank you.
@usagirei commented on GitHub (Sep 26, 2026):
Mainly because most if not all recent decision model related prs/commits are actively done by them - no other particular reason.
It is a new feature, indeed, this was feedback intended towards its usage: The ability to also be able to select a (non decision) connection for decisions from the global connection pool (and/or use active agent/chat connection), instead of gating it behind the local sidecar runtime for general purpose models
@kolacheee commented on GitHub (Sep 26, 2026):
@usagirei I don't understand, you can already use a non-decision model such as Gemma 4 E4B as your decision model. I even tested my own, and you can find the results of those tests in docs. In the meantime, I will work on a fix for adding OpenAI-compatible chat models as a Decision source with a one-click button to link an existing connection (like Ollama).
Correction: it works for the sidecar model, not externally hosted connections. Looking into it.
@usagirei commented on GitHub (Sep 26, 2026):
That's the main gist of the issue, yes - One can use a non decision model with the sidecar (Local Models), but can't use it with other non decision connections (they are unavailable in the decision source dropdown) that might be running locally