hermes-agent/apps/desktop/src
Teknium 1641441837
fix(desktop): don't false-timeout long prompt.submit turns (MoA, deep reasoning) (#56411)
prompt.submit is fire-and-forget — turn completion is signaled by stream /
message.complete events, not the RPC return — but it inherited the generic 30s
default RPC timeout. A turn that legitimately takes >30s to ACK (MoA presets
running references + aggregator in series, deep reasoning, large tool chains)
popped a false 'request timed out: prompt.submit' toast at 30s while the turn
was still running and streamed its real answer in 60-120s later (#55024).

Add PROMPT_SUBMIT_REQUEST_TIMEOUT_MS (1_800_000 = the backend's
agent.gateway_timeout ceiling) and pass it on all four prompt.submit call sites
(submit, resume-recovery retry, regenerate, rewind), mirroring the existing
SESSION_LIST_REQUEST_TIMEOUT_MS opt-out precedent. Widen the GatewayRequest
type (+ the inline requestGateway prop type) to carry the optional timeoutMs the
runtime impl already accepts.

Tests: use-prompt-actions/index.test.tsx 34/34 pass; tsc -b clean.
2026-07-01 06:33:47 -07:00
..
app fix(desktop): don't false-timeout long prompt.submit turns (MoA, deep reasoning) (#56411) 2026-07-01 06:33:47 -07:00
components refactor(desktop): split tool fallback-model into a folder with leaf modules 2026-06-30 15:24:33 -05:00
fonts fix(desktop): crisp terminal text via opaque xterm canvas 2026-06-12 19:36:30 -05:00
hooks refactor(desktop): share theme-repaint observer; memory-graph depth polish 2026-06-30 02:06:29 -05:00
i18n Merge pull request #55331 from xxxigm/fix/desktop-projects-stale-backend 2026-06-30 11:47:04 -05:00
lib Merge pull request #55331 from xxxigm/fix/desktop-projects-stale-backend 2026-06-30 11:47:04 -05:00
store Merge pull request #55331 from xxxigm/fix/desktop-projects-stale-backend 2026-06-30 11:47:04 -05:00
themes feat(desktop): flag already-installed themes in the install pickers 2026-06-29 23:29:20 -05:00
types feat(desktop): Memory Graph — playable radial timeline of memories + skills 2026-06-30 00:54:21 -05:00
global.d.ts Merge pull request #52828 from helix4u/fix/desktop-backend-update-indicator 2026-06-26 11:49:07 -05:00
hermes-profile-scope.test.ts fix(desktop): route gateway restart / status / update to the active profile 2026-06-24 19:16:26 -05:00
hermes.test.ts fix(desktop): route profile session reads 2026-06-11 18:09:24 -05:00
hermes.ts fix(desktop): don't false-timeout long prompt.submit turns (MoA, deep reasoning) (#56411) 2026-07-01 06:33:47 -07:00
main.tsx feat(desktop): floating pet, pop-out overlay + Cmd+K picker 2026-06-20 14:18:40 -05:00
styles.css feat(desktop): add context usage breakdown popover 2026-06-29 09:18:10 -04:00
vite-env.d.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00