Skip to content

Commit 5614af1

Browse files
committed
fix: llama-stack-client provider inspect should use retrieve
after regenerating the client with stainless and updating the openAPI spec, `inspect` is now `retreive`. fix `llama-stack-client provider inspect` Signed-off-by: Charlie Doern <cdoern@redhat.com>
1 parent f063f2d commit 5614af1

File tree

1 file changed

+2
-2
lines changed
  • src/llama_stack_client/lib/cli/providers

1 file changed

+2
-2
lines changed

src/llama_stack_client/lib/cli/providers/inspect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def inspect_provider(ctx, provider_id):
1414
client = ctx.obj["client"]
1515
console = Console()
1616

17-
providers_response = client.providers.inspect(provider_id=provider_id)
17+
providers_response = client.providers.retrieve(provider_id=provider_id)
1818

19-
if providers_response is None:
19+
if not providers_response:
2020
click.secho("Provider not found", fg="red")
2121
raise click.exceptions.Exit(1)
2222

0 commit comments

Comments
 (0)