mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #73] [Issue]: Make slow Hierarchical Maps generation resilient to provider timeouts #34
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#34
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 @thetopham on GitHub (Jul 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/73
Originally assigned to: @thetopham on GitHub.
Summary
Slow local-model map generation can complete in KoboldCPP after Marinara Engine has already aborted the connection with an Undici
HeadersTimeoutError. Hierarchical Maps then reports a generic generation failure even though the provider was still producing the requested map.Affected package
Hierarchical Maps (
hierarchical-maps), latest reported patch; current source package version 1.1.5Expected behavior
Actual behavior
A Windows user configured a 1,200,000 ms timeout, but map generation still failed with
fetch failed: Headers Timeout Error. KoboldCPP subsequently reported that the established connection had been aborted and its completed response could not be sent.Current source diagnosis shows:
headersTimeout;chatCompleterequest without a longer route signal or configurable dispatcher timeout; and.envtimeout variables cover media, embeddings, custom tools, and selected integrations, not general text-generation headers.This makes the report consistent with Engine aborting just before KoboldCPP tried to return the completed response.
Steps to reproduce
fetch failed: Headers Timeout Errorand[spatial/map-draft] Generation failed.Environment
Logs, screenshots, or video
Sanitized failure signature:
Hostname, local username paths, chat ID, and private chat data are intentionally omitted.
Additional context
The user-facing failure occurs in Hierarchical Maps, but the five-minute LLM headers timeout is generic Engine-owned provider transport. This issue should track package messaging and retry behavior while linking any paired Marinara-Engine change that makes text-generation headers/body timeouts configurable or adopts a safe streaming collection path for long local generations.
Do not simply raise one timeout without checking request cancellation, inter-chunk body timeout behavior, buffered versus streaming provider compatibility, and cleanup after the client closes the Maps builder.
Template check
@thetopham commented on GitHub (Jul 28, 2026):
resolved in #4175