Skip to main content

memory_read_request

Function memory_read_request 

Source
pub fn memory_read_request(query: &MemoryQuery, budget: &ContextBudget) -> Value
Expand description

The canonical JSON shape a JournaledMemory read journals (and a MemoryReplaySource matches) as a memory read’s request: the resolved query (with MemoryQuery::as_of stamped) and the budget, exactly as passed to the store. The hash of this value’s canonical serialization is the request identity exact replay matches on — the same rule crate::replay::model_call_request sets for model calls.