docs: update using llama stack as library docs

This commit is contained in:
Bobbins228 2025-07-28 14:16:03 +01:00
parent 09abdb0a37
commit b33a35db5e
No known key found for this signature in database
GPG key ID: 89FB8102B093BA9E

View file

@ -13,7 +13,7 @@ llama stack build --template starter --image-type venv
from llama_stack.distribution.library_client import LlamaStackAsLibraryClient
client = LlamaStackAsLibraryClient(
"ollama",
"starter",
# provider_data is optional, but if you need to pass in any provider specific data, you can do so here.
provider_data={"tavily_search_api_key": os.environ["TAVILY_SEARCH_API_KEY"]},
)