mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-11 19:56:03 +00:00
move from /v1 to /v1alpha. also move POST /test to GET /health
This commit is contained in:
parent
4306ecdbe7
commit
659e6ee86c
3 changed files with 12 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue