Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ history
Method
history
core/src/agent_api/session_view.rs:23–25 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
21
}
22
23
pub(super) fn history(&self) -> Vec<Message> {
24
read_or_recover(&self.session.history).clone()
25
}
26
27
pub(super) fn memory(&self) -> Option<&'a Arc<crate::memory::AgentMemory>> {
28
self.session.memory.as_ref()
Callers
4
rehydrates_existing_schedule_session_from_store
Function · 0.45
test_stream_updates_history_and_auto_saves
Function · 0.45
test_resume_session
Function · 0.45
test_concurrent_history_reads
Function · 0.45
Calls
2
read_or_recover
Function · 0.85
clone
Method · 0.45
Tested by
3
test_stream_updates_history_and_auto_saves
Function · 0.36
test_resume_session
Function · 0.36
test_concurrent_history_reads
Function · 0.36