Skip to main content

Module session_memory

Module session_memory 

Source
Expand description

Session memory - backward-compatible re-export of [services::session_memory].

The actual implementation lives in src/services/session_memory/. This module provides:

  • Re-exports of all new module symbols
  • Backward-compatible adapters for callers that expect legacy types

Re-exports§

pub use crate::services::session_memory::*;

Functions§

count_tool_calls_since
Count tool calls in assistant messages since a given index. Backward-compatible wrapper around the new module’s internal function.
get_last_summarized_message_id_as_index
Get the last summarized message as a message index into the provided message slice. Returns the length of the slice minus one when we only have a string UUID (the index is not recoverable).