[GH-ISSUE #6580] [Issue]: Decision connections time out at a fixed 1.5 s, and Test does not show how long the answer took #3691

Closed
opened 2026-10-21 06:06:11 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Sep 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6580

Originally assigned to: @kolacheee on GitHub.

What happens

A beta tester set up a TypeSafe Decision connection. Test worked some of the time and failed at other times with "The model did not answer within the time limit". The server log shows the request going out and being cut off exactly 1,500 ms later:

[decision] System One request: {"model":"jev-latest", ...}
[decision] Activation request failed: timeout
... "responseTime":1502.47

Why

Every Decision connection (TypeSafe, OpenRouter, or a custom System One server) gets a fixed 1.5 second limit (DECISION_TIMEOUT_MS.systemOne). The same limit applies during chats and to the Test button, and neither can be changed.

TypeSafe's response time varies more than that allows. In 13 requests to https://api.typesafe.ai/v1/systemone with a missing or invalid key, which are rejected before any model runs, most answered in 0.27 to 0.38 s, but 4 took 1.4, 1.7, 1.9 and 2.6 s. The response header reports 4 ms of server time, so the delay is on the way to their server. With the model's own time added, real requests land on both sides of 1.5 s, so the connection looks randomly broken.

The Test button makes this hard to diagnose. It uses the same 1.5 s limit and reports only "did not answer within the time limit". An answer at 1.6 s looks the same as a dead endpoint.

What we want

  1. A per-connection time limit. Put a Time limit field on each Decision connection, next to Recent-message token budget, with 1.5 s as the default. Longer limits help slow providers, but a statement asked before the reply can hold up the reply for up to that long, and the field's help text should say so.
  2. A Test that reports the real time. Test should wait well past the limit and say how long the answer took. If it answered but slower than the connection's limit, it should say that during chats the answer would count as no answer, and suggest a limit.

The field should survive connection export and import like the token budget does. The Decision Models guide's Time limits section should be updated to match.

Originally created by @kolacheee on GitHub (Sep 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6580 Originally assigned to: @kolacheee on GitHub. ## What happens A beta tester set up a TypeSafe Decision connection. **Test** worked some of the time and failed at other times with "The model did not answer within the time limit". The server log shows the request going out and being cut off exactly 1,500 ms later: ``` [decision] System One request: {"model":"jev-latest", ...} [decision] Activation request failed: timeout ... "responseTime":1502.47 ``` ## Why Every Decision connection (TypeSafe, OpenRouter, or a custom System One server) gets a fixed 1.5 second limit (`DECISION_TIMEOUT_MS.systemOne`). The same limit applies during chats and to the **Test** button, and neither can be changed. TypeSafe's response time varies more than that allows. In 13 requests to `https://api.typesafe.ai/v1/systemone` with a missing or invalid key, which are rejected before any model runs, most answered in 0.27 to 0.38 s, but 4 took 1.4, 1.7, 1.9 and 2.6 s. The response header reports 4 ms of server time, so the delay is on the way to their server. With the model's own time added, real requests land on both sides of 1.5 s, so the connection looks randomly broken. The **Test** button makes this hard to diagnose. It uses the same 1.5 s limit and reports only "did not answer within the time limit". An answer at 1.6 s looks the same as a dead endpoint. ## What we want 1. **A per-connection time limit.** Put a **Time limit** field on each Decision connection, next to **Recent-message token budget**, with 1.5 s as the default. Longer limits help slow providers, but a statement asked before the reply can hold up the reply for up to that long, and the field's help text should say so. 2. **A Test that reports the real time.** **Test** should wait well past the limit and say how long the answer took. If it answered but slower than the connection's limit, it should say that during chats the answer would count as no answer, and suggest a limit. The field should survive connection export and import like the token budget does. The Decision Models guide's **Time limits** section should be updated to match.
bsakaguchi 2026-10-21 06:06:11 +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#3691
No description provided.