Skip to content

Commit d4819cc

Browse files
committed
Update examples to accomodate changes
1 parent d20fd63 commit d4819cc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@
99
- [`logits.py`](logits/logits.py): Python example of getting logits from hosted model.
1010
- [`api`](api): Examples for using the Python API
1111
- [`basic_usage.py`](api/basic_usage.py): Basic Python example demonstrating the Vector Inference API
12-
- [`advanced_usage.py`](api/advanced_usage.py): Advanced Python example with rich UI for the Vector Inference API

examples/api/basic_usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
models = client.list_models()
1717
print(f"Found {len(models)} models")
1818
for model in models[:3]: # Show just the first few
19-
print(f"- {model.name} ({model.type})")
19+
print(f"- {model.name} ({model.model_type})")
2020

2121
# Launch a model (replace with an actual model name from your environment)
2222
model_name = "Meta-Llama-3.1-8B-Instruct" # Use an available model from your list

0 commit comments

Comments
 (0)