move from /v1 to /v1alpha. also move POST /test to GET /health

This commit is contained in:
Raghotham Murthy 2025-10-27 13:05:27 -07:00
parent 4306ecdbe7
commit 659e6ee86c
3 changed files with 12 additions and 12 deletions

View file

@ -592,8 +592,8 @@ class ProviderImpl(Providers):
logger.error(f"Failed to unregister provider {provider_id}: {e}")
raise RuntimeError(f"Failed to unregister provider: {e}") from e
async def test_provider_connection(self, api: str, provider_id: str) -> TestProviderConnectionResponse:
"""Test a provider connection."""
async def health(self, api: str, provider_id: str) -> TestProviderConnectionResponse:
"""Check provider health."""
# Check if provider exists (static or dynamic)
provider_impl = None