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
configModelProviderConfigapiKeystring?cancellationTokenCancellationToken