mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 10:13:05 +00:00
Update docs/source/getting_started/index.md
Co-authored-by: Francisco Arceo <farceo@redhat.com>
This commit is contained in:
parent
b16fb5a92e
commit
c804173902
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ client = LlamaStackClient(base_url=f"http://localhost:8321")
|
|||
# List available models
|
||||
models = client.models.list()
|
||||
|
||||
# Find the first LLM
|
||||
# Select the first LLM
|
||||
llm = next(m for m in models if m.model_type == 'llm')
|
||||
model_id = llm.identifier
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue