Expand description
Parse, normalize, and compare llm:// references (llmns draft v02).
let reference: llmns::Reference =
"llms+grpc://work@triton.internal:8001/qwen3-ft@name:step-2000".parse()?;
assert_eq!(reference.host, "triton.internal");
assert!(reference.tls);Structs§
- Identity
- The normalized (host, port, model, pin) tuple that decides whether two references are equivalent. The credential, the hints, the transport, and TLS do not contribute.
- Parse
Error - An invalid reference, pin, or component.
- Pin
- A typed pointer to one fixed state of a model.
- Reference
- One llm:// reference, decomposed.
Enums§
- PinKind
- How firmly a pin fixes the model state.