mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7847] [Issue]: Support per-character API connections in group chats #4319
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#4319
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 (Oct 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7847
Summary
Allow each character in a group chat to use its own API connection so different models can voice different characters. Support character-level defaults and per-chat character overrides while retaining the existing chat connection as a fallback.
Expected behavior
Each character should be able to use a configured connection, with priority ordered as: per-chat character override, character default, then the group chat connection. Missing or deleted assigned connections should fall back to the chat connection with a warning.
Actual behavior
A group chat currently uses one API connection for all characters, so one model voices every character. The user must manually switch the chat connection between turns to use different models.
Steps to reproduce
Environment
Logs, screenshots, or video
No logs, screenshots, or video provided. Support diagnostics were included in the Discord context.
Additional context
Requested design: an optional Marinara-side character default connection, an optional per-character connection dropdown in group chat settings, and the existing chat connection as fallback. A roster label showing each character's active connection would be useful. Existing patterns include connection overrides for agents and impersonation, plus the random connection pool. Current workaround is Manual response order with manual connection switching between turns. Active connection during diagnostics: CHUB.AI - Soji; provider: custom; model: soji.
Discord thread: Feature Request - Per-character API connections (character default + per-chat override)
Discord thread link: https://discord.com/channels/1417099416812392641/1561812389140365352
Requested by: gunterlie (gunterlie, Discord ID 282074442962829312)
Discord thread transcript (3 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Gunterlie commented on GitHub (Oct 19, 2026):
after update
@Gunterlie commented on GitHub (Oct 19, 2026):
Summary of the follow-up discussion in the Discord thread, collected here so it stays with the issue.
Cost and warning
Merged vs. individual response mode
Prompt cache
<characters>section per turn, and that section sits high in most presets, so most of the prompt below it is already re-sent uncached on every character switch.Extension idea
Existing groundwork