[GH-ISSUE #7098] [Issue]: Improve connection switching with model selection and caching #3967

Closed
opened 2026-10-21 06:09:08 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7098

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Switching models currently requires navigating through the connection panel and fetching models, which is cumbersome for users who frequently change models. Add a faster model-selection workflow with manually entered and pinned models, saved fetched models, and refresh support.

Expected behavior

Users should be able to quickly select or enter a model for a connection, pin frequently used models, and reuse previously fetched models without fetching them every time. A model-selection field should also be available in Chat Settings Connection.

Actual behavior

To change a model, users must open the connection panel, select a connection, fetch its models, and choose a model. Alternatively, they must create separate connections for each model; the reporter had 18 OpenRouter connections while testing.

Steps to reproduce

  1. Open the connection panel.
  2. Select a connection.
  3. Fetch the available models.
  4. Select a model, then repeat the process to change to another model.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Mockup attached: https://cdn.discordapp.com/attachments/1556585542093643856/1556585542433374298/mockup.jpg?backend=b2&ex=6ac4b2c1&is=6ac36141&hm=1b0b1c15a2aef39087d620d33b0c0b9f7945bfaa012b9f0aaf03fcb228aab3f8&. No logs or video provided.

Additional context

Consider how model changes affect connections used as helper connections in agents and connections with modified settings such as a separate vision model. Model lists should be cached to avoid fetching them every time. The request was positively received, and adding a model field to Chat Settings Connection was suggested.

Discord thread: Feature: Connection Switcher extension
Discord thread link: https://discord.com/channels/1417099416812392641/1556585542093643856
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (11 messages)
[2026-10-05T08:35:13.196Z] kociol21: So I don't know where to put it, so I'll drop it here. I am not a huge fan of how connection switching works. I often change models, but rarely anything else in connection. Right now to quickly change model, you have to either go to connection panel, pick connection, fetch the models and pick model. Or make a buttload of connections for every model if you want to change on the fly. Last time when I was testing something I had 18 openrouter connections. So here's what I think would be neat - which is in line with mainstream chatbot interfaces. Ability to enter model path by hand, pin models on top of the list, models after fetching would be saved with ability to refresh. 

This is a mockup, but I think I would be able to make it (with the clanker's help) though I don't know if anyone would be interested because maybe current implementation is an intented design. 

One caveat of this solution would be that model change would change it also in place where that connection is used as a helper connection in some agent etc.

[attached image 1: https://cdn.discordapp.com/attachments/1556585542093643856/1556585542433374298/mockup.jpg?backend=b2&ex=6ac4b2c1&is=6ac36141&hm=1b0b1c15a2aef39087d620d33b0c0b9f7945bfaa012b9f0aaf03fcb228aab3f8&]
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556585542093643856]

[2026-10-05T08:35:15.122Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556585550171869287]

[2026-10-05T08:56:04.683Z] gunterlie: I kinda like the idea. Thing to consider is also how to handle modified connections (seperate visionmodel etc)
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556590791210836009]

[2026-10-05T08:56:46.245Z] gunterlie: @Marinara 

Do you have thinks to think?
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556590965534367845]

[2026-10-05T08:57:04.598Z] gunterlie: Oh and connection caching
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591042512556033]

[2026-10-05T08:57:17.012Z] gunterlie: don’t want to fetch this all the time
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591094580383775]

[2026-10-05T08:57:44.387Z] Marinara: I like this idea, too.
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591209399590934]

[2026-10-05T08:58:01.513Z] Marinara: We can add a field to choose a model in Chat Settings Connection, too.
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591281231368205]

[2026-10-05T08:58:16.221Z] Marinara: Do you want to take care of that or leave it to me?
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591342921056257]

[2026-10-05T08:58:38.221Z] gunterlie: im busy currently, so feel free ❤️
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591435195879427]

[2026-10-05T09:01:16.146Z] Marinara: Damn, you don’t have to whip me so hard. :bota:
[Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556592097581203476]

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 @SpicyMarinara on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7098 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Switching models currently requires navigating through the connection panel and fetching models, which is cumbersome for users who frequently change models. Add a faster model-selection workflow with manually entered and pinned models, saved fetched models, and refresh support. ## Expected behavior Users should be able to quickly select or enter a model for a connection, pin frequently used models, and reuse previously fetched models without fetching them every time. A model-selection field should also be available in Chat Settings Connection. ## Actual behavior To change a model, users must open the connection panel, select a connection, fetch its models, and choose a model. Alternatively, they must create separate connections for each model; the reporter had 18 OpenRouter connections while testing. ## Steps to reproduce 1. Open the connection panel. 2. Select a connection. 3. Fetch the available models. 4. Select a model, then repeat the process to change to another model. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Mockup attached: https://cdn.discordapp.com/attachments/1556585542093643856/1556585542433374298/mockup.jpg?backend=b2&ex=6ac4b2c1&is=6ac36141&hm=1b0b1c15a2aef39087d620d33b0c0b9f7945bfaa012b9f0aaf03fcb228aab3f8&. No logs or video provided. ## Additional context Consider how model changes affect connections used as helper connections in agents and connections with modified settings such as a separate vision model. Model lists should be cached to avoid fetching them every time. The request was positively received, and adding a model field to Chat Settings Connection was suggested. Discord thread: Feature: Connection Switcher extension Discord thread link: https://discord.com/channels/1417099416812392641/1556585542093643856 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (11 messages)</summary> ```text [2026-10-05T08:35:13.196Z] kociol21: So I don't know where to put it, so I'll drop it here. I am not a huge fan of how connection switching works. I often change models, but rarely anything else in connection. Right now to quickly change model, you have to either go to connection panel, pick connection, fetch the models and pick model. Or make a buttload of connections for every model if you want to change on the fly. Last time when I was testing something I had 18 openrouter connections. So here's what I think would be neat - which is in line with mainstream chatbot interfaces. Ability to enter model path by hand, pin models on top of the list, models after fetching would be saved with ability to refresh. This is a mockup, but I think I would be able to make it (with the clanker's help) though I don't know if anyone would be interested because maybe current implementation is an intented design. One caveat of this solution would be that model change would change it also in place where that connection is used as a helper connection in some agent etc. [attached image 1: https://cdn.discordapp.com/attachments/1556585542093643856/1556585542433374298/mockup.jpg?backend=b2&ex=6ac4b2c1&is=6ac36141&hm=1b0b1c15a2aef39087d620d33b0c0b9f7945bfaa012b9f0aaf03fcb228aab3f8&] [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556585542093643856] [2026-10-05T08:35:15.122Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556585550171869287] [2026-10-05T08:56:04.683Z] gunterlie: I kinda like the idea. Thing to consider is also how to handle modified connections (seperate visionmodel etc) [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556590791210836009] [2026-10-05T08:56:46.245Z] gunterlie: @Marinara Do you have thinks to think? [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556590965534367845] [2026-10-05T08:57:04.598Z] gunterlie: Oh and connection caching [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591042512556033] [2026-10-05T08:57:17.012Z] gunterlie: don’t want to fetch this all the time [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591094580383775] [2026-10-05T08:57:44.387Z] Marinara: I like this idea, too. [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591209399590934] [2026-10-05T08:58:01.513Z] Marinara: We can add a field to choose a model in Chat Settings Connection, too. [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591281231368205] [2026-10-05T08:58:16.221Z] Marinara: Do you want to take care of that or leave it to me? [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591342921056257] [2026-10-05T08:58:38.221Z] gunterlie: im busy currently, so feel free ❤️ [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556591435195879427] [2026-10-05T09:01:16.146Z] Marinara: Damn, you don’t have to whip me so hard. :bota: [Discord message: https://discord.com/channels/1417099416812392641/1556585542093643856/1556592097581203476] ``` </details> ## 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.
bsakaguchi 2026-10-21 06:09:08 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Oct 5, 2026):

Added on staging by #7102.

You can now change a connection's model straight from the Connections menu by the chat input:

  • Search or type a model ID. Enter picks the model you typed, or the only match left in the list.
  • Star models to pin them at the top. Pins are saved with the connection and travel with exports and profile backups.
  • Refresh reloads the list. Fetched lists are kept, so the menu doesn't ask the provider every time. Changing the API key, Base URL or provider loads a fresh list.
  • On phones, tap a connection to open its models, with a back arrow.
  • Chat Settings → Connection has the same Model field.

As in the mockup, the model is saved to the connection, so agents and other chats that use it switch too. Other model settings, such as a separate vision model, stay as they are.

<!-- gh-comment-id:5994090299 --> @SpicyMarinara commented on GitHub (Oct 5, 2026): Added on staging by #7102. You can now change a connection's model straight from the **Connections** menu by the chat input: - **Search or type** a model ID. Enter picks the model you typed, or the only match left in the list. - **Star** models to pin them at the top. Pins are saved with the connection and travel with exports and profile backups. - **Refresh** reloads the list. Fetched lists are kept, so the menu doesn't ask the provider every time. Changing the API key, Base URL or provider loads a fresh list. - **On phones**, tap a connection to open its models, with a back arrow. - **Chat Settings → Connection** has the same **Model** field. As in the mockup, the model is saved to the connection, so agents and other chats that use it switch too. Other model settings, such as a separate vision model, stay as they are.
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#3967
No description provided.