Table of Contents

Method TestAsync

Namespace
Oscova.Agents.Llm
Assembly
Oscova.Agents.dll

TestAsync(ModelProviderConfig, string?, CancellationToken)

Tests the supplied provider configuration.

Task<(bool Success, string Message)> TestAsync(ModelProviderConfig config, string? apiKey = null, CancellationToken cancellationToken = default)

Parameters

config ModelProviderConfig
apiKey string?
cancellationToken CancellationToken

Returns

Task<(bool Success, string Message)>