Skip to main content

invocation_digest

Function invocation_digest 

Source
pub fn invocation_digest(invocation: &ToolInvocation) -> String
Expand description

A stable digest of everything that determines what a tool returns.

The agent is in it because two agents in one program deliberately hold different policies, so the same call from a different agent is a different call. Effects are not: they say what the call is allowed to do, not what it answers.