mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 04:00:42 +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
|
|
@ -257,7 +257,7 @@ class TestDynamicProviderManagement:
|
|||
)
|
||||
|
||||
# Test connection
|
||||
response = await provider_impl.test_provider_connection(api=Api.inference.value, provider_id="test-health")
|
||||
response = await provider_impl.health(api=Api.inference.value, provider_id="test-health")
|
||||
|
||||
# Verify response
|
||||
assert response.success is True
|
||||
|
|
@ -282,7 +282,7 @@ class TestDynamicProviderManagement:
|
|||
)
|
||||
|
||||
# Test connection
|
||||
response = await provider_impl.test_provider_connection(
|
||||
response = await provider_impl.health(
|
||||
api=Api.inference.value, provider_id="test-unhealthy"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue