mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[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
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#3691
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 @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:
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/systemonewith 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
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.