CatalogOrganizationService.

test_llm_provider_by_id

test_llm_provider_by_id(id: str, models: list[CatalogLlmProviderModel] | None) -> CatalogLlmProviderTestResult

Test connectivity to a saved LLM provider by its identifier.

Parameters

nametypedescription
idstrLLM provider identifier.
modelslist[CatalogLlmProviderModel] | NoneOptional list of models to test (overrides the provider's models).

Returns

typedescription
CatalogLlmProviderTestResultReachability and per-model test results.