mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4765] [Issue]: Conversation mode group response orchestrator is capped at 512 tokens and fails selection #2623
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#2623
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 (Aug 8, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4765
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The conversation mode group response orchestrator appears to use the chat's default connection instead of the default agent connection. Requests are capped at 512 tokens, causing local models such as Gemma to be truncated while thinking and resulting in failed character selection.
Expected behavior
The orchestrator should use the default agent connection, or a configurable connection, and fully respect that connection's parameter overrides such as token limits, temperature, and thinking settings. It should complete orchestration and return valid character IDs.
Actual behavior
The orchestrator sends requests with max_tokens set to 512 and appears to use the chat connection. The response can be truncated while the model is still thinking, after which the selector returns no valid character IDs and the system falls back to Tasha.
Steps to reproduce
Environment
Logs, screenshots, or video
KoboldCPP request excerpt: {"stream": false, "max_tokens": 512, "temperature": 0.2, "top_p": 1}. Marinara Engine log excerpts: "[group-smart] Selector returned no valid character IDs" and "[group-smart] Falling back to Tasha for chat -cMOK6LfyoquNJ1DuRwY9 after selector produced no queue". No screenshots or video were provided.
Additional context
This issue is reported to occur frequently, particularly with semi-dumb local models such as Gemma. Marinara Engine has hidden/system agents or background LLM orchestration systems that should use the default agent connection or support configurable connections while respecting connection-specific parameter overrides.
Discord thread: [Bug] Conversation Mode Group Response Orchestrator fails constantly
Discord thread link: https://discord.com/channels/1417099416812392641/1535691941130272778
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: