pub async fn get_session(
store: &dyn SessionStore,
session_id: &str,
user_id: Option<&str>,
last_n: Option<usize>,
) -> Result<Vec<SessionQAEntry>, SessionError>Expand description
Retrieve Q&A history from a session.
If last_n is Some(n), only the most recent n entries are returned.
Otherwise all entries are returned. Delegates to the underlying store
via the manager, using the explicit session_id (not the manager’s default).