mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-06 02:32:40 +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
|
# List available models
|
||||||
models = client.models.list()
|
models = client.models.list()
|
||||||
|
|
||||||
# Find the first LLM
|
# Select the first LLM
|
||||||
llm = next(m for m in models if m.model_type == 'llm')
|
llm = next(m for m in models if m.model_type == 'llm')
|
||||||
model_id = llm.identifier
|
model_id = llm.identifier
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue