mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4950] [Issue]: Max Parallel Agent Jobs limit not enforced across post-processing agents #2750
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#2750
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 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4950
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Tracker and Illustrator agents using the same OpenAI-compatible connection appear to send requests concurrently despite Max Parallel Agent Jobs being set to 1. This triggers ArliAI rate limits and causes both agents to use the fallback model.
Expected behavior
When Max Parallel Agent Jobs is set to 1, unbatched agent requests using the same connection should run sequentially, with the next request starting only after the previous request completes.
Actual behavior
The Tracker and Illustrator agent requests are sent before either request completes. ArliAI permits only one parallel request, so the requests are rate-limited and the agents fall back to another model, significantly slowing post-processing.
Steps to reproduce
Environment
771a1e2, Staging branchLogs, screenshots, or video
No logs, screenshots, or video were provided. The reporter observed overlapping requests in the API activity or console.
Additional context
The affected provider is ArliAI, and the reporter's subscription allows one parallel request. Setting Max Parallel Agent Jobs to 0 was suggested, but the value automatically returns to 1. Using a different provider for one agent was suggested as a workaround. A maintainer stated they would investigate whether the Max Parallel Agent setting works correctly.
Discord thread: [BUG?] Open Ai Compatible Connection: Agents make parallel calls, causing rate-limiting -> FallBack
Discord thread link: https://discord.com/channels/1417099416812392641/1536836578964410419
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (11 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 (Aug 12, 2026):
SpicyMarinara is taking this in the current assigned-issue sweep. I’m preparing a draft PR against
stagingand will link it here before implementation continues.