[GH-ISSUE #6714] [Feature]: Decouple decision connection from forced local sidecar #3763

Closed
opened 2026-10-21 06:06:57 +07:00 by bsakaguchi · 7 comments
Owner

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:

  • I DID NOT read this template and provide the requested details.
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) <!-- Describe the pain point or gap this feature would address --> ## Proposed solution Let users pick a regular connection for the decision model. The forced local sidecar runtime restriction seems pointless. <!-- What would you like to see added or changed? --> ## Alternatives considered N/A <!-- Any other approaches you thought about? --> ## Additional context Paging @kolacheee <!-- Optional: mockups, related issues, references, or examples --> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@kolacheee commented on GitHub (Sep 26, 2026):

Image Image

This doesn't work for you @usagirei ?

<!-- gh-comment-id:5848234840 --> @kolacheee commented on GitHub (Sep 26, 2026): <img width="631" height="1099" alt="Image" src="https://github.com/user-attachments/assets/0b12cdfd-a5e5-4eb8-b15b-37dea9e42c53" /> <img width="1107" height="893" alt="Image" src="https://github.com/user-attachments/assets/d89511d2-3847-414f-9b82-af89a965c2e1" /> This doesn't work for you @usagirei ?
Author
Owner

@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).

<!-- gh-comment-id:5848306892 --> @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).
Author
Owner

@usagirei commented on GitHub (Sep 26, 2026):

Image

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)

<!-- gh-comment-id:5848379753 --> @usagirei commented on GitHub (Sep 26, 2026): <img width="660" height="190" alt="Image" src="https://github.com/user-attachments/assets/b5949af7-813e-45c6-be5d-d63b27ebcbb8" /> 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)
Author
Owner

@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.

<!-- gh-comment-id:5848621025 --> @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.
Author
Owner

@usagirei 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.

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

<!-- gh-comment-id:5848725298 --> @usagirei 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. 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
Author
Owner

@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.

<!-- gh-comment-id:5848804002 --> @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.
Author
Owner

@usagirei 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.

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

<!-- gh-comment-id:5848860598 --> @usagirei commented on GitHub (Sep 26, 2026): > [@usagirei](https://github.com/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. 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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3763
No description provided.