Expand description
Serializable model labels resolved to live handles by a runtime.
use rig_core::completion::ModelRef;
let model = ModelRef::new("assistant");
assert_eq!(model.as_str(), "assistant");Structs§
- Model
Ref - Model label serialized as a string. Equality compares labels without provider interpretation; resolving a label to a live handle is the runtime’s responsibility.