Table of Contents

Method IsAvailableAsync

Namespace
Oscova.Agents.Speech
Assembly
Oscova.Agents.dll

IsAvailableAsync(SpeechProviderConfig, string?, bool, CancellationToken)

Determines whether the configured provider is available.

public Task<bool> IsAvailableAsync(SpeechProviderConfig config, string? apiKey, bool requireLocalEndpoint, CancellationToken ct = default)

Parameters

config SpeechProviderConfig
apiKey string?
requireLocalEndpoint bool
ct CancellationToken

Returns

Task<bool>