You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: broken .retrieve call using identifier= (#135)
# What does this PR do?
identifier is not a valid argument for `retrieve` but model_id is.
```
╰─ llama-stack-client models get meta-llama/Llama-3.2-3B-Instruct
╭────────────────────────────────────────────────────────────────────────────────────╮
│ Failed to get model details │
│ │
│ Error Type: TypeError │
│ Details: ModelsResource.retrieve() got an unexpected keyword argument 'identifier' │
╰────────────────────────────────────────────────────────────────────────────────────╯
```
[//]: # (If resolving an issue, uncomment and update the line below)
[//]: # (Closes #[issue-number])
## Test Plan
the error now is:
```
╰─ llama-stack-client models get meta-llama/Llama-3.2-3B-Instruct
╭────────────────────────────────────────────────────╮
│ Failed to get model details │
│ │
│ Error Type: NotFoundError │
│ Details: Error code: 404 - {'detail': 'Not Found'} │
╰────────────────────────────────────────────────────╯
```
Signed-off-by: Charlie Doern <[email protected]>
0 commit comments