Skip to main content

capture_llm_boundary

Method
This is a method of the ContextManager class in the manager module.
Capture exact state at LLM call boundary. Call this immediately before sending to LLM to get exact snapshot.

Signature

def capture_llm_boundary(messages: List[Dict[str, Any]], tools: List[Dict[str, Any]]) -> SnapshotHookData

Parameters

messages
List
required
Exact messages being sent
tools
List
required
Exact tool schemas being sent

Returns

Returns
SnapshotHookData
SnapshotHookData with hashes for verification