mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 08:20:00 +00:00
chore: deprecate /v1/inspect/providers
with the new /v1/providers API, /v1/inspect/providers is duplicative, deprecate it by removing the route, and add a test for the full /v1/providers API Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
f369871083
commit
10dce7c269
6 changed files with 7 additions and 36 deletions
|
|
@ -15,3 +15,8 @@ class TestProviders:
|
|||
def test_list(self, llama_stack_client: LlamaStackAsLibraryClient | LlamaStackClient):
|
||||
provider_list = llama_stack_client.providers.list()
|
||||
assert provider_list is not None
|
||||
|
||||
@pytest.mark.asyncio
|
||||
def test_inspect(self, llama_stack_client: LlamaStackAsLibraryClient | LlamaStackClient):
|
||||
provider_list = llama_stack_client.providers.retrieve("ollama")
|
||||
assert provider_list is not None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue