mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6488] [Issue]: LTM extraction is limited by fixed 2-minute body timeout #3625
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#3625
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 @Promansis on GitHub (Sep 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6488
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory extraction through an agent connection can fail on large payloads because the LLM transport uses a fixed two-minute inter-chunk body timeout instead of the configured Marinara Engine agent request timeout.
Affected package
long-term-memory(agent-backed extraction)Expected behavior
LTM extraction should use the host's normal agent request timeout policy, including
AGENT_CALL_TIMEOUT_MS, so a healthy provider producing a large extraction response is allowed to complete within the configured agent timeout.Actual behavior
The LTM capability call reaches the Engine LLM provider with the fallback
LLM_BODY_TIMEOUTvalue of 120 seconds between response body chunks. Large or slow-but-progressing extraction requests can fail at that limit even when the configured agent timeout is longer.Steps to reproduce
AGENT_CALL_TIMEOUT_MSto a value longer than two minutes.Environment
LLM_BODY_TIMEOUT = 120 * 1000.long-term-memory1.3.6Logs, screenshots, or video
The relevant source configuration is:
The reported symptom is LTM extraction timing out on a large payload while the same configured agent connection works for other agents.
Additional context
LTM passes the host-provided
AbortSignalthroughlanguageModels.resolveForRequest(...).chatComplete(...); it does not define its own numeric timeout. The defect is in the host transport timeout policy used by the LTM capability path, but it is surfaced specifically as an LTM agent extraction failure.The desired behavior is to use the default Marinara Engine timeout policy consistently rather than relying on the fixed
LLM_BODY_TIMEOUTfallback.Template check