Constructor ChatModelPlan
ChatModelPlan(string, string, bool, long, long, long, long?, bool, string, string, Uri?, string?, string?)
What a consent screen needs, and nothing it does not. No network I/O beyond a stat.
public ChatModelPlan(string PresetId, string DisplayName, bool Provisioned, long TotalBytes, long BytesAlreadyPresent, long BytesToTransfer, long? FreeDiskBytes, bool FitsOnDisk, string Directory, string SpdxLicense, Uri? LicenseUri, string? HuggingFaceRepo, string? HuggingFaceRevision)
Parameters
PresetIdstringThe preset being planned.
DisplayNamestringWhat the sheet shows.
ProvisionedboolWhether the bytes are already on disk and verified.
TotalByteslongThe bundle total - every file in the manifest, not just the weights.
BytesAlreadyPresentlongWhat a resumed transfer would not have to fetch again.
BytesToTransferlongTotalBytes minus BytesAlreadyPresent.
FreeDiskByteslong?Free space on the volume the model directory lives on, or null when the platform would not say. Null is unknown and never a refusal, exactly as an unreadable available-memory figure is.
FitsOnDiskboolWhether BytesToTransfer plus
ChatProvisioningOptions.FreeDiskMarginBytesfits in FreeDiskBytes. True when the free-space reading is unknown.DirectorystringWhere the bytes will land.
SpdxLicensestringThe manifest's SPDX expression.
LicenseRef-LLAMA-3.2-Communityis a legal one; a bareLLAMA-3.2-Communityis not, which is why the field carries the prefixed spelling.LicenseUriUriThe licence text a consent sheet links to.
HuggingFaceRepostringThe
owner/namerepo, when the model comes from the Hub.HuggingFaceRevisionstringA full commit SHA. Never
"main".