Expand description
§step-id
Stable, deterministic IDs for agent steps. Same (run_id, index, kind) always produces the same id — useful for joining trace
records across reruns or storage backends.
16-char hex (first 64 bits of SHA-256).
§Example
use step_id::id;
let a = id("run-1", 0, "tool_call");
let b = id("run-1", 0, "tool_call");
assert_eq!(a, b);
assert_eq!(a.len(), 16);Functions§
- id
- 16-char hex id (first 64 bits of SHA-256).