You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In-app chat memory tools still hard-deny on missing_rollout_state — #10094 fixed the Developer API path but not chat #10736
#10094 taught the Developer API path to treat missing_rollout_state as "un-enrolled, fall back to the legacy store" rather than a hard deny. The in-app chat retrieval tools were not updated and still hard-deny on the same signal, so users in the legacy cohort get "No memories available for this request." from Omi chat while the memories list screen shows their memories normally.
Where
backend/utils/retrieval/tools/memory_tools.py:220 and :381:
ifdefault_memories.read_decision!=MemoryReadDecision.USE_LEGACY_SAFE:
logger.info(
"🛑 get_memories_tool - memory chat memory list denied without legacy fallback: "f"{default_memories.fallback_reason}"
)
returndefault_memories.textor"No memories available for this request."
Same pattern at backend/utils/retrieval/tool_services/memories.py:84 and :173.
The equivalent check in backend/routers/developer.py:397 was relaxed by #10094:
ifmemory_result.fallback_reason!='missing_rollout_state':
raiseHTTPException(status_code=403, ...)
# ... otherwise fall through to the legacy store
Impact
Any account with no users/{uid}/memory_control/state document resolves to DENY_MEMORY / missing_rollout_state, which is the expected un-enrolled state for the legacy cohort — the same population #10094 was written to rescue. For those users, chat cannot see their memories at all. Prod logs show 23 of these denials on 2026-07-27 alone.
It is silent from the user's side: chat simply answers as though the user has no memories, so it reads as the assistant forgetting rather than as an error.
Proposed fix
Apply the #10094 treatment here: when fallback_reason == 'missing_rollout_state', fall through to the legacy memories read instead of returning the "no memories" string. Keep the hard deny for the other reasons (e.g. missing_app_key_scope_grant).
Activity
fix(chat): serve legacy memories when a legacy-cohort account has no …
fix(chat): serve legacy memories when a legacy-cohort account has no …