[GH-ISSUE #5183] [Issue]: Pause and resume requests when proxy rate limit is reached #2867

Closed
opened 2026-10-21 05:57:13 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Aug 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5183

Originally assigned to: @kolacheee on GitHub.

Summary

Extensive Professor Mari requests can exceed a proxy limit of five messages per minute, causing processing to halt before the response is completed. Add configurable throttling or pause-and-resume behavior to allow requests to continue after the rate-limit window resets.

Expected behavior

Professor Mari should respect the configured proxy rate limit by pausing between messages when necessary, then automatically continue processing the original request.

Actual behavior

Professor Mari processes extensive requests until the proxy rate limit is reached, then stops before completing the response. The user must submit the question or request again.

Steps to reproduce

  1. Run Marinara Engine 2.4.2 with an OpenAI-compatible proxy limited to five messages per minute.
  2. Submit an extensive help request to Professor Mari that requires enough processing to reach the proxy rate limit.
  3. Observe that processing halts when the rate limit is reached and does not automatically resume.

Environment

  • Marinara Engine version: 2.4.2 (build 2.4.2+266d3e1dfd44, commit 266d3e1dfd)
  • Install type: Not provided
  • OS + version: Marinara Engine is hosted on Windows 11 and accessed remotely from macOS 10.15.7 through Tailscale.
  • Browser or app shell: Safari 26.5 on macOS 10.15.7 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15)

Logs, screenshots, or video

Diagnostics provided: GPU: Apple GPU; active connection: Tea; connection provider: openai; LLM model: deepseek-v4-pro. No rate-limit logs, screenshots, or video were provided.

Additional context

The proxy permits five messages per minute. Shorter requests sometimes complete successfully; the problem occurs with more extensive help requests. The requested enhancement is a configurable delay that prevents exceeding the limit and resumes the same request afterward.

Discord message: Discord message from Myriani¹⁵
Discord message link: https://discord.com/channels/1417099416812392641/1538732649378480239/1538732649378480239
Requested by: kolache (k0lache, Discord ID 220320261780668416)

Discord message transcript (1 message)
[2026-08-17T02:14:11.882Z] Myriani¹⁵: Hello! I am using ME v 2.4.2 on Windows 11, but accessing it via Tailscale connection from my Mac. I am also using a proxy that has a rate limit of 5 messages per minute.

In some instances, Professor Mari works fine. She is able to help me with what I need. With more extensive help requests/questions, she processes them, hits the rate limit on the proxy, and then her train of thought suddenly halts and I would have to re-ask the question/request.

I am hoping if there can be a feature implemented that could "pause" her help for a certain amount of time, then continue after the pause, so that she will not reach the rate limit and still complete my question/request? Not sure how feasible this is, but I am hoping it would be easy to implement.

Here is a copy of my diagnostics:
` ` `
Marinara Engine diagnostics
Version: 2.4.2
Build: 2.4.2+266d3e1dfd44
Commit: 266d3e1dfd44
OS: macOS 10.15.7
Browser / app shell: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15
GPU: Apple GPU
Active connection: Tea
Connection provider: openai
LLM model: deepseek-v4-pro
` ` `
[Discord message: https://discord.com/channels/1417099416812392641/1538732649378480239/1538732649378480239]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5183 Originally assigned to: @kolacheee on GitHub. ## Summary Extensive Professor Mari requests can exceed a proxy limit of five messages per minute, causing processing to halt before the response is completed. Add configurable throttling or pause-and-resume behavior to allow requests to continue after the rate-limit window resets. ## Expected behavior Professor Mari should respect the configured proxy rate limit by pausing between messages when necessary, then automatically continue processing the original request. ## Actual behavior Professor Mari processes extensive requests until the proxy rate limit is reached, then stops before completing the response. The user must submit the question or request again. ## Steps to reproduce 1. Run Marinara Engine 2.4.2 with an OpenAI-compatible proxy limited to five messages per minute. 2. Submit an extensive help request to Professor Mari that requires enough processing to reach the proxy rate limit. 3. Observe that processing halts when the rate limit is reached and does not automatically resume. ## Environment - Marinara Engine version: 2.4.2 (build 2.4.2+266d3e1dfd44, commit 266d3e1dfd44) - Install type: Not provided - OS + version: Marinara Engine is hosted on Windows 11 and accessed remotely from macOS 10.15.7 through Tailscale. - Browser or app shell: Safari 26.5 on macOS 10.15.7 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15) ## Logs, screenshots, or video Diagnostics provided: GPU: Apple GPU; active connection: Tea; connection provider: openai; LLM model: deepseek-v4-pro. No rate-limit logs, screenshots, or video were provided. ## Additional context The proxy permits five messages per minute. Shorter requests sometimes complete successfully; the problem occurs with more extensive help requests. The requested enhancement is a configurable delay that prevents exceeding the limit and resumes the same request afterward. Discord message: Discord message from Myriani¹⁵ Discord message link: https://discord.com/channels/1417099416812392641/1538732649378480239/1538732649378480239 Requested by: kolache (k0lache, Discord ID 220320261780668416) <details> <summary>Discord message transcript (1 message)</summary> ```text [2026-08-17T02:14:11.882Z] Myriani¹⁵: Hello! I am using ME v 2.4.2 on Windows 11, but accessing it via Tailscale connection from my Mac. I am also using a proxy that has a rate limit of 5 messages per minute. In some instances, Professor Mari works fine. She is able to help me with what I need. With more extensive help requests/questions, she processes them, hits the rate limit on the proxy, and then her train of thought suddenly halts and I would have to re-ask the question/request. I am hoping if there can be a feature implemented that could "pause" her help for a certain amount of time, then continue after the pause, so that she will not reach the rate limit and still complete my question/request? Not sure how feasible this is, but I am hoping it would be easy to implement. Here is a copy of my diagnostics: ` ` ` Marinara Engine diagnostics Version: 2.4.2 Build: 2.4.2+266d3e1dfd44 Commit: 266d3e1dfd44 OS: macOS 10.15.7 Browser / app shell: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15 GPU: Apple GPU Active connection: Tea Connection provider: openai LLM model: deepseek-v4-pro ` ` ` [Discord message: https://discord.com/channels/1417099416812392641/1538732649378480239/1538732649378480239] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:57:13 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2867
No description provided.