Table of Contents

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

id string

The stable operation identifier shown by the Host.

url string

The source URL selected by the provider or Host configuration.

destinationPath string

The fully qualified destination under provider-owned model storage.

ct CancellationToken

Cancels the download request.

Returns

Task