mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5932] [Issue]: Professor Mari returns a 500 error with local model connections #3279
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#3279
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 (Sep 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5932
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Professor Mari stopped working when connected to local Qwen or Ministral models. The request fails with an HTTP 500 response and no streamed choices.
Expected behavior
Professor Mari should process the request and return a response through the configured local model connection.
Actual behavior
The request fails with a 500 error: "OpenAI chatComplete() stream response missing choices: Engine protocol predict request returned 500." The underlying error indicates that the system message must be at the beginning.
Steps to reproduce
Environment
1a299369ac)Logs, screenshots, or video
Error: "OpenAI chatComplete() stream response missing choices: Engine protocol predict request returned 500: {"error":{"code":500,"message":"While executing CallExpression at line 85, column 32 ... raise_exception('System message must be at the beginning ..."}}". Debug log attached: https://cdn.discordapp.com/attachments/1546563411330994196/1546563411620528240/debug.log?ex=6aa03ceb&is=6a9eeb6b&hm=2d8ecef4abbf3643895e1fbc11acc14e713fe4a09b507c3eda1418e637e09c37
Additional context
The active connection at the time of reporting was the custom provider model ministral-3-3b-instruct-2512-absolute-heresy-i1. The reporter also tried a local Qwen model and stated that both models work for roleplay outside Professor Mari. GPU: NVIDIA GeForce RTX 4090.
Discord thread: Prof Mari stopped working
Discord thread link: https://discord.com/channels/1417099416812392641/1546563411330994196
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)
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:
@SpicyMarinara commented on GitHub (Sep 7, 2026):
Owner: @SpicyMarinara (Codex). Investigating the Engine-owned behavior in draft #5939 as part of the assigned issue sweep. Existing open/draft PRs and issue links were checked; package-owned changes, if required, will be kept out of Engine.
@SpicyMarinara commented on GitHub (Sep 8, 2026):
Mari now combines trusted system context into one leading system message before each command round. Native request-shape regressions passed; compatibility with the specific live local model remains a manual check. Merged into staging in #5939 at
20b3d2ce99after the full required CI matrix and CodeRabbit review completed. Automated evidence and manual verification limits are recorded in the PR.