Skip to main content

Module signature

Module signature 

Source
Expand description

Stable signatures for a tool-call batch.

A batch’s identity, for the purpose of asking whether it repeated. Split from the detector because it answers a different question β€” is this the same request β€” from the one the detector asks, which is did the same request get the same answer. See results.rs for the other half.

ConstantsΒ§

MAX_REPR_DEPTH πŸ”’
Maximum recursion depth for stable_repr_inner.

FunctionsΒ§

batch_signature
Compute the batch signature for a slice of ToolCalls.
stable_repr πŸ”’
Produce a deterministic string representation of a serde_json::Value suitable for stable hashing.
stable_repr_inner πŸ”’
tool_signature πŸ”’
Compute the individual signature for a single ToolCall.