Skip to content

Memory tree LLM recap fails silently — falls back to heuristic summarization #6179

Description

@Al629176

Summary

The memory tree archivist's LLM-based segment recap fails and silently degrades to a heuristic fallback, producing lower-quality memory summaries without surfacing the failure to the user.

Log Evidence

11:19:32:WRN:recap [archivist] summarize_entries: LLM recap failed (non-fatal) segment=seg-18d3df10e56e3e285a4c5f99: ai.tinyhumans.tinymemory.Error.Other: summarise tree inputs: memory_tree::summarise: provider=inference:chat-v1 — heuristic fallback

Impact

  • Memory segments are summarized with heuristics instead of LLM — coarser, less contextually rich recall
  • Failure is non-fatal and swallowed, so the user gets degraded memory quality with no indication anything went wrong
  • Future recall that depends on these segments will be less accurate

Expected Behavior

Either:

  1. The LLM recap should succeed reliably, or
  2. On failure, the error should be retried with backoff before falling back, and/or the fallback should be logged at a higher severity so it can be tracked

Root Cause Direction

The error is memory_tree::summarise: provider=inference:chat-v1 — likely an inference call to the summarization provider failed (timeout, quota, or transient). The failure-to-fallback path needs a retry before giving up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions