Commit 6fa8095
authored
fix: validate endpoint url (#196)
# What does this PR do?
currently `llama-stack-client configure` allows a user to set up with a
invalid URL such as ` ['::', '0.0.0.0']:8321` and then any subsequent
command fails due to improperly reading the bad URL from the config.yaml
## Test Plan
after:
<img width="775" alt="Screenshot 2025-03-12 at 2 03 14 PM"
src="https://github.com/user-attachments/assets/746d1e13-b8e7-4ad9-99dd-6e50069c2641"
/>
Signed-off-by: Charlie Doern <cdoern@redhat.com>1 parent 6191aa5 commit 6fa8095
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments