Delegate LLM.ModelDownloadingProgressCallback
A delegate designed to monitor and report the progress of model downloading.
public delegate bool LLM.ModelDownloadingProgressCallback(string path, long? contentLength, long bytesRead)
Parameters
path
stringThe path where the model is being downloaded.
contentLength
long?The model size is given in bytes. A null value is returned if the content size cannot be obtained.
bytesRead
longTotal bytes read.
Returns
- bool
A boolean indicating whether loading should proceed.