mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6049] [Issue]: Scene Analysis inherits main RP provider configuration #3354
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#3354
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 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6049
Originally assigned to: @Romuromylus on GitHub.
Summary
In Game Mode, Scene Analysis appears to inherit the provider configuration from the main RP connection instead of using its own agent connection configuration. This causes agent requests to fail for providers that reject the inherited or injected provider field.
Expected behavior
Scene Analysis should use the model and provider configuration of its own connection independently of the main RP connection. A main RP connection configured for Opus 4.6 through Google Vertex should not affect an agent configured for GLM 5.3/5.3 Flash through OpenRouter, or an agent using Google Gemini without a provider restriction.
Actual behavior
With the main RP connection set to Opus 4.6 through Anthropic with Google Vertex as the only allowed provider, Scene Analysis configured for GLM 5.3/5.3 Flash through OpenRouter fails with
OpenRouter API error 404: No allowed providers are available for the selected modeleven though the agent connection has no provider restriction. A Google Gemini agent connection also fails withGemini API error 400: Invalid JSON payload received. Unknown name "provider": Cannot find field.Both failures occur throughrunGameChatCompleteingame.routes.jsaround line 2381, before provider-specific completion logic.Steps to reproduce
providerfield.Environment
1411d71dad)Logs, screenshots, or video
Full console log attached as
text.txt: https://cdn.discordapp.com/attachments/1547629519949660241/1547629856991477790/text.txt?ex=6aa41e1f&is=6aa2cc9f&hm=cdc059964b6d3a98c01c339679cea0adf343b4462f4b20359510d1f28c0383f1&. Reported errors: OpenRouter API 404 forz-ai/glm-5.3-20260816; Gemini API 400 for an unknownproviderfield.Additional context
The issue does not occur with Anthropic models or APIs/models that appear to silently ignore the
providerfield, such as DeepSeek. The suspected cause is that the main RP connection's provider value is propagated into the Scene Analysis agent request, overriding or incorrectly populating the agent connection's provider configuration. The Discord context does not provide the Scene Analysis agent version.Discord thread: Bug report - Scene analysis fails due to provider issue
Discord thread link: https://discord.com/channels/1417099416812392641/1547629519949660241
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)
Discord thread transcript (5 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Romuromylus commented on GitHub (Sep 11, 2026):
Fixed by #6059, merged into
stagingasfe1650e9f.