Method EnsureDownloadAsync
- Namespace
- Oscova.Agents.Plugins
- Assembly
- Oscova.Agents.dll
EnsureDownloadAsync(string, string, string, CancellationToken)
Starts or joins a Host-tracked download for a plugin-owned asset.
public Task EnsureDownloadAsync(string id, string url, string destinationPath, CancellationToken ct = default)Parameters
idstring-
The stable operation identifier shown by the Host.
urlstring-
The source URL selected by the provider or Host configuration.
destinationPathstring-
The fully qualified destination under provider-owned model storage.
ctCancellationToken-
Cancels the download request.