Closed yanxi0830 closed 1 month ago
I should be able to just configure the client cli to point to a host by providing an API key if needed.
$ llama-stack-client configure host: ... port: ... api_key: ...
After that, I should be able to do:
$ llama-stack-client <models|memory_banks|shields> <list|get>
without having to specify host/port each time.
Requesting changes mainly for Raghu's comment on doing a configuration first and then reusing those values for contacting the distribution server.
A small nit -- can the
cli
directory be placed untilsrc/llama_stack_client
instead of insidesrc/llama_stack_client/lib/
I put it to lib
for now to be compatible w/ Stainless's custom code suggestion, and think may us save some further trouble when syncing. We can do further refactor when API is more stable.
CLI Reference
llama-stack-client
llama-stack-client configure
llama-stack-client models list
llama-stack-client models get
llama-stack-client memory_banks list
llama-stack-client shields list